summaryrefslogtreecommitdiffstats
path: root/Tests/FindGnuTLS/CMakeLists.txt
diff options
context:
space:
mode:
authorDavid Callu <callu.david@gmail.com>2019-09-17 08:22:41 (GMT)
committerBrad King <brad.king@kitware.com>2019-09-18 16:03:53 (GMT)
commit44e8b8f1f222c0227ed72d09310e30524bda9935 (patch)
tree7fdc361f34d0dd2da485eb94b3f7a0b8d16ab281 /Tests/FindGnuTLS/CMakeLists.txt
parent729c928c7b59919a9d379891973bda22665c75da (diff)
downloadCMake-44e8b8f1f222c0227ed72d09310e30524bda9935.zip
CMake-44e8b8f1f222c0227ed72d09310e30524bda9935.tar.gz
CMake-44e8b8f1f222c0227ed72d09310e30524bda9935.tar.bz2
FindGnuTLS: add target GnuTLS::GnuTLS
Also add a test case for the module.
Diffstat (limited to 'Tests/FindGnuTLS/CMakeLists.txt')
-rw-r--r--Tests/FindGnuTLS/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FindGnuTLS/CMakeLists.txt b/Tests/FindGnuTLS/CMakeLists.txt
new file mode 100644
index 0000000..059ac7b
--- /dev/null
+++ b/Tests/FindGnuTLS/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_test(NAME FindGnuTLS.Test COMMAND
+ ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGnuTLS/Test"
+ "${CMake_BINARY_DIR}/Tests/FindGnuTLS/Test"
+ ${build_generator_args}
+ --build-project TestFindGnuTLS
+ --build-options ${build_options}
+ --test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
+ )