CMake/Tests/RunCMake/include_directories/install_config.cmake

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)