summaryrefslogtreecommitdiffstats
path: root/Tests/FindOpenSSL/CMakeLists.txt
diff options
context:
space:
mode:
authorKonstantin Podsvirov <konstantin@podsvirov.pro>2015-08-07 11:13:33 (GMT)
committerBrad King <brad.king@kitware.com>2015-08-13 14:58:40 (GMT)
commit75e3a8e811b290cb9921887f2b086377af90880f (patch)
tree69e9bcc1d437a01da364f2804551703766672b51 /Tests/FindOpenSSL/CMakeLists.txt
parent79a364376ca7b4b598b4827031a7515ffd497f24 (diff)
downloadCMake-75e3a8e811b290cb9921887f2b086377af90880f.zip
CMake-75e3a8e811b290cb9921887f2b086377af90880f.tar.gz
CMake-75e3a8e811b290cb9921887f2b086377af90880f.tar.bz2
FindOpenSSL: Provide imported targets OpenSSL::{SSL,Crypto}
Diffstat (limited to 'Tests/FindOpenSSL/CMakeLists.txt')
-rw-r--r--Tests/FindOpenSSL/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/FindOpenSSL/CMakeLists.txt b/Tests/FindOpenSSL/CMakeLists.txt
new file mode 100644
index 0000000..66b3fb2
--- /dev/null
+++ b/Tests/FindOpenSSL/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_test(NAME FindOpenSSL.rand COMMAND ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindOpenSSL/rand"
+ "${CMake_BINARY_DIR}/Tests/FindOpenSSL/rand"
+ ${build_generator_args}
+ --build-project FindOpenSSL_rand
+ --build-options ${build_options}
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )