]> 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 7b34271b714fdd86a10e043bd6e12d0740224c99..8a559f3f393ac37695572649a654539ad963c404 100644 (file)
@@ -10,18 +10,15 @@ set(boost_filesystem_sources
        exception.cpp
        operations.cpp
        path.cpp
-       portability.cpp
-)
+       portability.cpp)
 
 lyx_add_path(boost_filesystem_sources ${TOP_SRC_DIR}/boost/libs/filesystem/src)
 
 if(NOT MERGE_FILES)
        add_library(boost_filesystem STATIC ${boost_filesystem_sources})
-else(NOT MERGE_FILES)
+else()
        add_definitions(-D_WIN32_WINNT=0x500)
-       lyx_merge_files(allinone boost_filesystem_sources)
-       add_library(boost_filesystem STATIC 
-                                       ${CMAKE_CURRENT_BINARY_DIR}/allinone_const.C
-                                       ${CMAKE_CURRENT_BINARY_DIR}/allinone_touched.C)
-endif(NOT MERGE_FILES)
+       lyx_const_touched_files(_allinone  boost_filesystem_sources)
+       add_library(boost_filesystem STATIC ${_allinone_files})
+endif()