find boost without components so we can use Boost_VERSION

actorid
Sebastian Wick 13 years ago
parent 2d080ce4ef
commit 0f40e6fc65

@ -186,6 +186,9 @@ if (UNIX AND NOT APPLE)
find_package (Threads) find_package (Threads)
endif() endif()
# find boost without components so we can use Boost_VERSION
find_package(Boost REQUIRED)
set(BOOST_COMPONENTS system filesystem program_options thread) set(BOOST_COMPONENTS system filesystem program_options thread)
if (Boost_VERSION LESS 104900) if (Boost_VERSION LESS 104900)

Loading…
Cancel
Save