summaryrefslogtreecommitdiffstats
path: root/Tests/FindJasper/CMakeLists.txt
diff options
context:
space:
mode:
authorHiroshi Miura <miurahr@linux.com>2021-10-06 00:39:02 (GMT)
committerBrad King <brad.king@kitware.com>2021-10-06 15:28:09 (GMT)
commit6e8754c6251bc2f7edfb0d71303e1b85fce93f5e (patch)
tree077977c922a7e5cf3a9473cce443777605d2fff2 /Tests/FindJasper/CMakeLists.txt
parentbdbce845cd714a1e844976e4cba4734932e89dd5 (diff)
downloadCMake-6e8754c6251bc2f7edfb0d71303e1b85fce93f5e.zip
CMake-6e8754c6251bc2f7edfb0d71303e1b85fce93f5e.tar.gz
CMake-6e8754c6251bc2f7edfb0d71303e1b85fce93f5e.tar.bz2
FindJasper: Add IMPORTED target
Fixes: #20601 Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Diffstat (limited to 'Tests/FindJasper/CMakeLists.txt')
-rw-r--r--Tests/FindJasper/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FindJasper/CMakeLists.txt b/Tests/FindJasper/CMakeLists.txt
new file mode 100644
index 0000000..1bfae78
--- /dev/null
+++ b/Tests/FindJasper/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_test(NAME FindJasper.Test COMMAND
+ ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindJasper/Test"
+ "${CMake_BINARY_DIR}/Tests/FindJasper/Test"
+ ${build_generator_args}
+ --build-project TestFindJasper
+ --build-options ${build_options}
+ --test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
+ )