[BW]: [Ign] CMakeLists.txt changes to support Cmake boost configuration.
This commit is contained in:
parent
35077ea231
commit
b8a98f8890
1 changed files with 1 additions and 4 deletions
|
|
@ -18,10 +18,7 @@ SET( CMAKE_DEBUG_POSTFIX _debug )
|
||||||
SET( BUILD_SHARED_LIBS NO )
|
SET( BUILD_SHARED_LIBS NO )
|
||||||
|
|
||||||
if( WIN32 )
|
if( WIN32 )
|
||||||
set( RPCRT4 Rpcrt4 )
|
set( RPCRT4 Rpcrt4 )
|
||||||
#boost
|
|
||||||
SET( Boost_INCLUDE_DIR $ENV{BOOST_ROOT} )
|
|
||||||
#Using shared libs for boost on windows
|
|
||||||
else(WIN32)
|
else(WIN32)
|
||||||
SET(Boost_USE_STATIC_LIBS ON)
|
SET(Boost_USE_STATIC_LIBS ON)
|
||||||
FIND_PACKAGE(Boost 1.51 COMPONENTS thread date_time system filesystem program_options signals serialization chrono unit_test_framework context )
|
FIND_PACKAGE(Boost 1.51 COMPONENTS thread date_time system filesystem program_options signals serialization chrono unit_test_framework context )
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue