Set Boost_USE_STATIC_LIBS to previous default ON but configurable

This commit is contained in:
Peter Conrad 2015-04-27 14:57:45 +02:00
parent 8e8dd9265a
commit b8341a006e

View file

@ -34,6 +34,7 @@ SET (ORIGINAL_LIB_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
SET(BOOST_COMPONENTS)
LIST(APPEND BOOST_COMPONENTS thread date_time system filesystem program_options signals serialization chrono unit_test_framework context locale iostreams)
SET( Boost_USE_STATIC_LIBS ON CACHE STRING "ON or OFF" )
IF( WIN32 )
MESSAGE(STATUS "Configuring fc to build on Win32")