summaryrefslogtreecommitdiffstats
path: root/Tests/SimpleInstall
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-09-23 18:41:52 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-23 18:41:52 (GMT)
commit69ab5f55026c7e884a70f04aa7ddef776f74305b (patch)
treecf939ee95878c4f58d998a23678945fb3c608a6c /Tests/SimpleInstall
parent17aa6fd36284ad937bfce370cf8d5e5de87a334b (diff)
downloadCMake-69ab5f55026c7e884a70f04aa7ddef776f74305b.zip
CMake-69ab5f55026c7e884a70f04aa7ddef776f74305b.tar.gz
CMake-69ab5f55026c7e884a70f04aa7ddef776f74305b.tar.bz2
Tests: Cover install(FILES) with a genex DESTINATION
Diffstat (limited to 'Tests/SimpleInstall')
-rw-r--r--Tests/SimpleInstall/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt
index cc3c3be..3227e3f 100644
--- a/Tests/SimpleInstall/CMakeLists.txt
+++ b/Tests/SimpleInstall/CMakeLists.txt
@@ -209,9 +209,9 @@ else()
ARCHIVE DESTINATION MyTest/lib/static
OPTIONAL # for coverage...target should always exist
)
- install(FILES lib1.h DESTINATION MyTest/include/foo)
+ install(FILES lib1.h DESTINATION MyTest/include/$<1:foo>$<0:/wrong>)
install(FILES lib2.h
- DESTINATION MyTest/include/foo
+ DESTINATION $<1:MyTest/include/foo>$<0:/wrong>
COMPONENT Development
PERMISSIONS OWNER_READ OWNER_WRITE
RENAME lib2renamed.h