浏览代码

Install headers from extract_includes for all platforms

Konstantin Podsvirov 10 年之前
父节点
当前提交
61e078e803
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cmake/install.cmake

+ 1 - 1
cmake/install.cmake

@@ -16,7 +16,7 @@ endforeach()
 install(TARGETS protoc EXPORT protobuf-targets
 install(TARGETS protoc EXPORT protobuf-targets
   RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT protoc)
   RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT protoc)
 
 
-if(MSVC)
+if(TRUE)
   file(STRINGS extract_includes.bat.in _extract_strings
   file(STRINGS extract_includes.bat.in _extract_strings
     REGEX "^copy")
     REGEX "^copy")
   foreach(_extract_string ${_extract_strings})
   foreach(_extract_string ${_extract_strings})