summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport
diff options
context:
space:
mode:
authorRobert Goulet <robert.goulet@autodesk.com>2015-09-23 21:15:29 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-24 13:13:03 (GMT)
commitbd189cc24e2292ab80dde7c0d0ac1cd9fafb2d35 (patch)
tree27ffc539451f22c4aff837ba8d5b26e97d52ad98 /Tests/ExportImport
parent69ab5f55026c7e884a70f04aa7ddef776f74305b (diff)
downloadCMake-bd189cc24e2292ab80dde7c0d0ac1cd9fafb2d35.zip
CMake-bd189cc24e2292ab80dde7c0d0ac1cd9fafb2d35.tar.gz
CMake-bd189cc24e2292ab80dde7c0d0ac1cd9fafb2d35.tar.bz2
install: Allow generator expressions in DIRECTORY DESTINATION
Diffstat (limited to 'Tests/ExportImport')
-rw-r--r--Tests/ExportImport/Export/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/ExportImport/Export/CMakeLists.txt b/Tests/ExportImport/Export/CMakeLists.txt
index 1e52a09..a3f1f81 100644
--- a/Tests/ExportImport/Export/CMakeLists.txt
+++ b/Tests/ExportImport/Export/CMakeLists.txt
@@ -551,5 +551,5 @@ install(
ARCHIVE DESTINATION lib
INCLUDES DESTINATION include/abs
)
-install(DIRECTORY include/abs DESTINATION include)
+install(DIRECTORY include/abs DESTINATION $<1:include>$<0:/wrong>)
install(EXPORT expAbs NAMESPACE expAbs_ DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/expAbs)