1 # This file is part of LyX, the document processor.
2 # Licence details can be found in the file COPYING.
4 # Copyright (c) 2006, Peter Kümmel, <syntheticpp@gmx.net>
7 project(boost_filesystem)
9 set(boost_filesystem_sources
16 lyx_add_path(boost_filesystem_sources ${TOP_SRC_DIR}/boost/libs/filesystem/src)
19 add_library(boost_filesystem STATIC ${boost_filesystem_sources})
21 add_definitions(-D_WIN32_WINNT=0x500)
22 lyx_merge_files(${CMAKE_CURRENT_BINARY_DIR}/boost_filesystem_allinone.C boost_filesystem_sources)
23 add_library(boost_filesystem STATIC ${CMAKE_CURRENT_BINARY_DIR}/boost_filesystem_allinone.C)
24 endif(NOT MERGE_FILES)