]> 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 aa9738007c218f5c7c6ccf9b4259f266b4bf87fd..8a559f3f393ac37695572649a654539ad963c404 100644 (file)
@@ -1,11 +1,24 @@
+# This file is part of LyX, the document processor.
+# Licence details can be found in the file COPYING.
+#
+# Copyright (c) 2006, Peter Kümmel, <syntheticpp@gmx.net>
+#
+
 project(boost_filesystem)
 
 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()
+