summaryrefslogtreecommitdiffstats
path: root/Tests/FindX11/CMakeLists.txt
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2018-11-12 20:51:50 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2018-11-15 18:08:18 (GMT)
commitbced9d5e568604509db43b16d8baa7f1c7b4e714 (patch)
tree174be59791b1a00604b5e66da1f09dcd7bdbb536 /Tests/FindX11/CMakeLists.txt
parenta7d2ffb2325478e4d242e3b7338f8ca1c1898ff7 (diff)
downloadCMake-bced9d5e568604509db43b16d8baa7f1c7b4e714.zip
CMake-bced9d5e568604509db43b16d8baa7f1c7b4e714.tar.gz
CMake-bced9d5e568604509db43b16d8baa7f1c7b4e714.tar.bz2
Tests/FindX11: add a test
Diffstat (limited to 'Tests/FindX11/CMakeLists.txt')
-rw-r--r--Tests/FindX11/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FindX11/CMakeLists.txt b/Tests/FindX11/CMakeLists.txt
new file mode 100644
index 0000000..cc931a1
--- /dev/null
+++ b/Tests/FindX11/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_test(NAME FindX11.Test COMMAND
+ ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindX11/Test"
+ "${CMake_BINARY_DIR}/Tests/FindX11/Test"
+ ${build_generator_args}
+ --build-project TestFindX11
+ --build-options ${build_options}
+ --test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
+ )