]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/boost/libs/filesystem/CMakeLists.txt
cmake cosmetics
[lyx.git] / development / cmake / boost / libs / filesystem / CMakeLists.txt
index b07a28e69540ad8b2fe1ecc9225adec05f252953..8a559f3f393ac37695572649a654539ad963c404 100644 (file)
@@ -10,8 +10,15 @@ set(boost_filesystem_sources
        exception.cpp
        operations.cpp
        path.cpp
-)
+       portability.cpp)
 
 lyx_add_path(boost_filesystem_sources ${TOP_SRC_DIR}/boost/libs/filesystem/src)
 
-add_library(boost_filesystem STATIC ${boost_filesystem_sources})
\ No newline at end of file
+if(NOT MERGE_FILES)
+       add_library(boost_filesystem STATIC ${boost_filesystem_sources})
+else()
+       add_definitions(-D_WIN32_WINNT=0x500)
+       lyx_const_touched_files(_allinone  boost_filesystem_sources)
+       add_library(boost_filesystem STATIC ${_allinone_files})
+endif()
+