summaryrefslogtreecommitdiff
path: root/Tests/FindOpenGL/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindOpenGL/CMakeLists.txt')
-rw-r--r--Tests/FindOpenGL/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FindOpenGL/CMakeLists.txt b/Tests/FindOpenGL/CMakeLists.txt
new file mode 100644
index 0000000000..9aa3abafb1
--- /dev/null
+++ b/Tests/FindOpenGL/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_test(NAME FindOpenGL.Test COMMAND
+ ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindOpenGL/Test"
+ "${CMake_BINARY_DIR}/Tests/FindOpenGL/Test"
+ ${build_generator_args}
+ --build-project TestFindOpenGL
+ --build-options ${build_options}
+ --test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
+ )