summaryrefslogtreecommitdiffstats
path: root/Tests/FindLAPACK/CMakeLists.txt
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2020-04-27 17:38:02 (GMT)
committerBrad King <brad.king@kitware.com>2020-04-27 18:19:02 (GMT)
commit4ed936d1b8af6afc7dd88f3d6cad5c36e12f91aa (patch)
treed20df507709fed0ff6245b8ff0bcd8a506334a13 /Tests/FindLAPACK/CMakeLists.txt
parent265fb71c917e3921012c2950a921cb380f60ae0f (diff)
downloadCMake-4ed936d1b8af6afc7dd88f3d6cad5c36e12f91aa.zip
CMake-4ed936d1b8af6afc7dd88f3d6cad5c36e12f91aa.tar.gz
CMake-4ed936d1b8af6afc7dd88f3d6cad5c36e12f91aa.tar.bz2
FindLAPACK: Provide the LAPACK::LAPACK import target
Diffstat (limited to 'Tests/FindLAPACK/CMakeLists.txt')
-rw-r--r--Tests/FindLAPACK/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FindLAPACK/CMakeLists.txt b/Tests/FindLAPACK/CMakeLists.txt
new file mode 100644
index 0000000..2081d59
--- /dev/null
+++ b/Tests/FindLAPACK/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_test(NAME FindLAPACK.Test COMMAND
+ ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindLAPACK/Test"
+ "${CMake_BINARY_DIR}/Tests/FindLAPACK/Test"
+ ${build_generator_args}
+ --build-project TestFindLAPACK
+ --build-options ${build_options}
+ --test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
+ )