summaryrefslogtreecommitdiffstats
path: root/Tests/FindThreads/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindThreads/CMakeLists.txt')
-rw-r--r--Tests/FindThreads/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/FindThreads/CMakeLists.txt b/Tests/FindThreads/CMakeLists.txt
new file mode 100644
index 0000000..36518a3
--- /dev/null
+++ b/Tests/FindThreads/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_test(NAME FindThreads.C-only COMMAND ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindThreads/C-only"
+ "${CMake_BINARY_DIR}/Tests/FindThreads/C-only"
+ ${build_generator_args}
+ --build-project FindThreads_C-only
+ --build-options ${build_options}
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )