mirror of
https://github.com/boostorg/core.git
synced 2025-07-31 21:34:42 +02:00
Update test/CMakeLists.txt
This commit is contained in:
@@ -38,6 +38,13 @@ boost_test(TYPE run SOURCES serialization_split_free_test.cpp)
|
|||||||
boost_test(TYPE run SOURCES serialization_split_member_test.cpp)
|
boost_test(TYPE run SOURCES serialization_split_member_test.cpp)
|
||||||
boost_test(TYPE run SOURCES serialization_construct_data_test.cpp)
|
boost_test(TYPE run SOURCES serialization_construct_data_test.cpp)
|
||||||
|
|
||||||
|
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||||
|
find_package(Threads REQUIRED)
|
||||||
|
|
||||||
|
set(BOOST_TEST_LINK_LIBRARIES Boost::core Threads::Threads)
|
||||||
|
|
||||||
|
boost_test(TYPE run SOURCES yield_prim_pthread_cancel_test.cpp)
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(swap)
|
add_subdirectory(swap)
|
||||||
|
@@ -390,7 +390,7 @@ run sp_thread_pause_test.cpp ;
|
|||||||
run sp_thread_yield_test.cpp ;
|
run sp_thread_yield_test.cpp ;
|
||||||
run sp_thread_sleep_test.cpp ;
|
run sp_thread_sleep_test.cpp ;
|
||||||
run yield_prim_windows_h_test.cpp ;
|
run yield_prim_windows_h_test.cpp ;
|
||||||
run yield_prim_pthread_cancel_test.cpp ;
|
run yield_prim_pthread_cancel_test.cpp : ;
|
||||||
|
|
||||||
use-project /boost/core/swap : ./swap ;
|
use-project /boost/core/swap : ./swap ;
|
||||||
build-project ./swap ;
|
build-project ./swap ;
|
||||||
|
Reference in New Issue
Block a user