Permalink
Browse files

cmake: improve support for building with system boost libraries

Signed-off-by: Tim Blechmann <tim@klingt.org>
  • Loading branch information...
1 parent 001cbc0 commit 81d151101bca63b432a5a1bde5cb1242b0982fb7 @timblechmann timblechmann committed Sep 30, 2012
Showing with 3 additions and 7 deletions.
  1. +3 −7 CMakeLists.txt
View
10 CMakeLists.txt
@@ -221,19 +221,15 @@ if(CURL)
endif()
endif()
-if (SYSTEM_BOOST)
+if(SYSTEM_BOOST)
set(Boost_USE_MULTITHREADED ON)
- find_package( Boost 1.48.0 COMPONENTS thread system filesystem program_options regex test )
-
- if (SC_OX)
- set(Boost_FOUND OFF) # boost 1.48 does not like c++11
- endif()
+ find_package( Boost 1.50.0 COMPONENTS thread system filesystem program_options regex test_exec_monitor )
endif()
if (Boost_FOUND)
link_directories(${Boost_LIBRARY_DIRS})
else()
- message("building boost libraries manually")
+ message(STATUS "building boost libraries manually")
endif()
if(SYSTEM_YAMLCPP)

0 comments on commit 81d1511

Please sign in to comment.