summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorYves Frederix <yves.frederix@gmail.com>2016-01-12 20:01:07 (GMT)
committerBrad King <brad.king@kitware.com>2016-01-13 14:02:06 (GMT)
commit630c8aa8435fced988545d396714398faa3426b1 (patch)
tree9cae7d2f3ddd216a6f03c777b5cbddc01527e54d /Tests/RunCMake/install/RunCMakeTest.cmake
parentb5009720d3020021f189570d72c099963795a5c5 (diff)
downloadCMake-630c8aa8435fced988545d396714398faa3426b1.zip
CMake-630c8aa8435fced988545d396714398faa3426b1.tar.gz
CMake-630c8aa8435fced988545d396714398faa3426b1.tar.bz2
install: Allow generator expressions in DIRECTORY
Teach install(DIRECTORY) to support generator expressions in the list of directories, much like install(FILES) already supports.
Diffstat (limited to 'Tests/RunCMake/install/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/install/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/RunCMakeTest.cmake b/Tests/RunCMake/install/RunCMakeTest.cmake
index 043bd1f..2c1b29d 100644
--- a/Tests/RunCMake/install/RunCMakeTest.cmake
+++ b/Tests/RunCMake/install/RunCMakeTest.cmake
@@ -6,6 +6,7 @@ run_cmake(DIRECTORY-message-lazy)
run_cmake(SkipInstallRulesWarning)
run_cmake(SkipInstallRulesNoWarning1)
run_cmake(SkipInstallRulesNoWarning2)
+run_cmake(DIRECTORY-DIRECTORY-bad)
run_cmake(DIRECTORY-DESTINATION-bad)
run_cmake(FILES-DESTINATION-bad)
run_cmake(TARGETS-DESTINATION-bad)