CMake/Tests/RunCMake/include_directories/install_config.cmake
Stephen Kelly 80e652f5cc Export: Process generator expressions from INCLUDES DESTINATION.
Configuration sensitive expressions are not permitted.
2013-08-01 00:37:25 +02:00

7 lines
201 B
CMake

enable_language(CXX)
add_executable(foo empty.cpp)
install(TARGETS foo EXPORT fooTargets DESTINATION . INCLUDES DESTINATION include/$<CONFIGURATION>)
install(EXPORT fooTargets DESTINATION lib/cmake)