mirror of
https://github.com/boostorg/unordered.git
synced 2025-08-01 04:14:29 +02:00
Add missing FindThreads to CML
This commit is contained in:
@@ -6,6 +6,9 @@ include(BoostTestJamfile OPTIONAL RESULT_VARIABLE HAVE_BOOST_TEST)
|
|||||||
|
|
||||||
if(HAVE_BOOST_TEST)
|
if(HAVE_BOOST_TEST)
|
||||||
|
|
||||||
|
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||||
|
find_package(Threads REQUIRED)
|
||||||
|
|
||||||
set(BOOST_TEST_LINK_LIBRARIES Boost::unordered Boost::core Boost::concept_check)
|
set(BOOST_TEST_LINK_LIBRARIES Boost::unordered Boost::core Boost::concept_check)
|
||||||
|
|
||||||
function(fca_tests)
|
function(fca_tests)
|
||||||
@@ -17,7 +20,7 @@ function(foa_tests)
|
|||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
function(cfoa_tests)
|
function(cfoa_tests)
|
||||||
boost_test(PREFIX boost_unordered_cfoa ${ARGN})
|
boost_test(PREFIX boost_unordered_cfoa LINK_LIBRARIES Threads::Threads ${ARGN})
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
# FCA tests
|
# FCA tests
|
||||||
|
Reference in New Issue
Block a user