1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 06:39:42 +00:00

find boost without components so we can use Boost_VERSION

This commit is contained in:
Sebastian Wick 2012-07-25 00:47:08 +02:00
parent 2d080ce4ef
commit 0f40e6fc65

View file

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