From 2bcc111657db314439de8e6f3c0de48e6a6959c3 Mon Sep 17 00:00:00 2001 From: Adam Wardynski <award@.(win7-laptop)> Date: Sat, 13 Nov 2010 21:03:18 +0100 Subject: [PATCH] Add some boost options per FindBoost.cmake script comment --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bba9a1a..957ae54 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,6 +41,9 @@ endif(CMAKE_COMPILER_IS_GNUCXX) set(LIBS "") include_directories(${Corpus2Library_SOURCE_DIR}) +set(Boost_USE_STATIC_LIBS ON) +set(Boost_USE_MULTITHREADED ON) +set(Boost_USE_STATIC_RUNTIME OFF) find_package(Boost 1.41 REQUIRED COMPONENTS program_options filesystem regex) set(LIBCORPUS2_INSTALL_DATA_DIR share/corpus2) @@ -48,7 +51,7 @@ FIND_PATH(LIBCORPUS2_SRC_DATA_DIR test.tagset ${CMAKE_SOURCE_DIR}/corpus2data ) -MARK_AS_ADVANCED(LIBMACA_SRC_DATA_DIR) +MARK_AS_ADVANCED(LIBCORPUS2_SRC_DATA_DIR) add_subdirectory(libpwrutils) add_subdirectory(libcorpus2) -- GitLab