Skip to content
Snippets Groups Projects
Commit 769eeefd authored by Lars Bilke's avatar Lars Bilke
Browse files

On Windows static Boost libs are searched for.

As long as dynamically linking is not working on Windows we should not
try to do it.
parent 99aaf601
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,9 @@ IF(NOT Boost_INCLUDE_DIRS)
IF(IS_DIRECTORY /opt/boxen)
SET(BOOST_ROOT /opt/boxen/homebrew)
ENDIF()
IF(WIN32)
SET(Boost_USE_STATIC_LIBS ON)
ENDIF()
FIND_PACKAGE(Boost 1.46.0 COMPONENTS ${BOOST_LIBS_TO_BUILD})
IF(Boost_FOUND)
SET(Boost_FOUND TRUE CACHE BOOL "Was Boost found?" FORCE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment