summaryrefslogtreecommitdiffstats
path: root/Tests/FindOpenSP/CMakeLists.txt
diff options
context:
space:
mode:
authorDawid Wróbel <me@dawidwrobel.com>2022-07-12 14:39:58 (GMT)
committerBrad King <brad.king@kitware.com>2022-08-30 17:55:07 (GMT)
commite706da5f7ebbdab98098825ff8f7bad89ce06277 (patch)
tree8724f87cd420c871edae87a2e1904e9d050727e6 /Tests/FindOpenSP/CMakeLists.txt
parent4bcdf1b992804467bc39710c2670f828df479dff (diff)
downloadCMake-e706da5f7ebbdab98098825ff8f7bad89ce06277.zip
CMake-e706da5f7ebbdab98098825ff8f7bad89ce06277.tar.gz
CMake-e706da5f7ebbdab98098825ff8f7bad89ce06277.tar.bz2
FindOpenSP: Add module to find the OpenSP library
OpenSP has not seen a release in seventeen years, so is unlikely to ever provide a CMake package configuration file. Add a find module instead.
Diffstat (limited to 'Tests/FindOpenSP/CMakeLists.txt')
-rw-r--r--Tests/FindOpenSP/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FindOpenSP/CMakeLists.txt b/Tests/FindOpenSP/CMakeLists.txt
new file mode 100644
index 0000000..26826d3
--- /dev/null
+++ b/Tests/FindOpenSP/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_test(NAME FindOpenSP.Test COMMAND
+ ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindOpenSP/Test"
+ "${CMake_BINARY_DIR}/Tests/FindOpenSP/Test"
+ ${build_generator_args}
+ --build-project TestFindOpenSP
+ --build-options ${build_options}
+ --test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
+ )