Only look for BOOST´s unit test framework module if not already found. Sync version with rest of system

This commit is contained in:
Kristian Flikka authored and Bård Skaflestad committed 2014-03-11 20:09:11 +01:00
1 parent 1ce36d7c06
commit d4a7bcd8e4
1 file changed
+3 -2
+3 -2
View File
@@ -1,5 +1,6 @@
# be sure that this component is searched for
find_package (Boost COMPONENTS unit_test_framework QUIET)
if (NOT ${Boost_UNIT_TEST_FRAMEWORK_FOUND})
find_package (Boost 1.44.0 COMPONENTS unit_test_framework QUIET)
endif ()
if (${Boost_UNIT_TEST_FRAMEWORK_FOUND})
# setup to do a test compile