mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Try to fix pthread link issue
This commit is contained in:
		| @@ -480,7 +480,8 @@ set_tests_properties( | |||||||
| ) | ) | ||||||
|  |  | ||||||
| add_executable(Multithreading ${TESTS_DIR}/X37-Multithreading.cpp) | add_executable(Multithreading ${TESTS_DIR}/X37-Multithreading.cpp) | ||||||
| target_link_libraries(Multithreading PRIVATE Catch2::Catch2WithMain) | find_package(Threads REQUIRED) | ||||||
|  | target_link_libraries(Multithreading PRIVATE Catch2::Catch2WithMain Threads::Threads) | ||||||
| target_compile_features(Multithreading PRIVATE cxx_std_11) | target_compile_features(Multithreading PRIVATE cxx_std_11) | ||||||
| add_test( | add_test( | ||||||
|   NAME Reporters::Multithreading |   NAME Reporters::Multithreading | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jeremy Rifkin
					Jeremy Rifkin