summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-dev-check.cmake
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-04-18 19:47:48 (GMT)
committerBrad King <brad.king@kitware.com>2018-05-03 12:08:42 (GMT)
commitedcb545a24ed2df83813a89a20bb2beefe0531c1 (patch)
treec872ba1b2176113f9a4e81d4649b4643e439bb62 /Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-dev-check.cmake
parent0212d7c7629bb1a866da4f6c69b780c6d43f26f3 (diff)
downloadCMake-edcb545a24ed2df83813a89a20bb2beefe0531c1.zip
CMake-edcb545a24ed2df83813a89a20bb2beefe0531c1.tar.gz
CMake-edcb545a24ed2df83813a89a20bb2beefe0531c1.tar.bz2
install: add test for new NAMELINK_COMPONENT parameter
Diffstat (limited to 'Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-dev-check.cmake')
-rw-r--r--Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-dev-check.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-dev-check.cmake b/Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-dev-check.cmake
new file mode 100644
index 0000000..5396cdb
--- /dev/null
+++ b/Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-dev-check.cmake
@@ -0,0 +1,11 @@
+if(WIN32 OR CYGWIN OR NO_NAMELINK)
+ set(_check_files)
+else()
+ set(_check_files
+ [[lib]]
+ [[lib/libnamelink-only\.(so|dylib)]]
+ [[lib/libnamelink-sep\.(so|dylib)]]
+ [[lib/libnamelink-uns-dev\.(so|dylib)]]
+ )
+endif()
+check_installed("^${_check_files}$")