summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/include_directories/install_config.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-07-31 14:40:35 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-07-31 22:37:25 (GMT)
commit80e652f5cc279715ff57e1c64c6e5c460b201db4 (patch)
tree20456816f757b0d5e1386041f17f0b9fc5990f04 /Tests/RunCMake/include_directories/install_config.cmake
parent43558156d451b605bb9a3d14d53a3896ea98d73a (diff)
downloadCMake-80e652f5cc279715ff57e1c64c6e5c460b201db4.zip
CMake-80e652f5cc279715ff57e1c64c6e5c460b201db4.tar.gz
CMake-80e652f5cc279715ff57e1c64c6e5c460b201db4.tar.bz2
Export: Process generator expressions from INCLUDES DESTINATION.
Configuration sensitive expressions are not permitted.
Diffstat (limited to 'Tests/RunCMake/include_directories/install_config.cmake')
-rw-r--r--Tests/RunCMake/include_directories/install_config.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/include_directories/install_config.cmake b/Tests/RunCMake/include_directories/install_config.cmake
new file mode 100644
index 0000000..46c626c
--- /dev/null
+++ b/Tests/RunCMake/include_directories/install_config.cmake
@@ -0,0 +1,6 @@
+
+enable_language(CXX)
+
+add_executable(foo empty.cpp)
+install(TARGETS foo EXPORT fooTargets DESTINATION . INCLUDES DESTINATION include/$<CONFIGURATION>)
+install(EXPORT fooTargets DESTINATION lib/cmake)