Merge pull request #513 from flikka/use-dyn-boost-check-once
Only look for BOOST´s unit test framework module if not already found. Sync version requirement. This resolves #509.
This commit is contained in:
commit
baf4294e8b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user