Skip to content
Snippets Groups Projects
Commit 310acae7 authored by Adam Wardynski's avatar Adam Wardynski
Browse files

Explicitly set Boost_USE_STATIC_LIBS to OFF

parent 06b87a65
No related merge requests found
...@@ -41,13 +41,7 @@ endif(CMAKE_COMPILER_IS_GNUCXX) ...@@ -41,13 +41,7 @@ endif(CMAKE_COMPILER_IS_GNUCXX)
set(LIBS "") set(LIBS "")
include_directories(${Corpus2Library_SOURCE_DIR}) include_directories(${Corpus2Library_SOURCE_DIR})
if(WIN32) set(Boost_USE_STATIC_LIBS OFF)
# Need to work out how to properly link to boost DLLs on Windows
# For now, just link to static boost libs to make it work
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_MULTITHREADED ON)
set(Boost_USE_STATIC_RUNTIME OFF)
endif(WIN32)
find_package(Boost 1.41 REQUIRED COMPONENTS program_options filesystem regex) find_package(Boost 1.41 REQUIRED COMPONENTS program_options filesystem regex)
set(LIBCORPUS2_INSTALL_DATA_DIR share/corpus2) set(LIBCORPUS2_INSTALL_DATA_DIR share/corpus2)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment