We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef9f16 commit 399616bCopy full SHA for 399616b
test/CMakeLists.txt
@@ -1,8 +1,11 @@
1
set(test_names test_subprocess test_cat test_env test_err_redirection test_split test_main test_ret_code)
2
set(test_files env_script.sh write_err.sh write_err.txt)
3
4
+find_package(Threads REQUIRED)
5
+
6
foreach(test_name IN LISTS test_names)
7
add_executable(${test_name} ${test_name}.cc)
8
+ target_link_libraries(${test_name} PRIVATE Threads::Threads)
9
10
add_test(
11
NAME ${test_name}
0 commit comments