CMake/Tests/RunCMake/CPack/PER_COMPONENT_FIELDS.cmake

6 lines
227 B
CMake
Raw Normal View History

install(FILES CMakeLists.txt DESTINATION foo COMPONENT pkg_1)
install(FILES CMakeLists.txt DESTINATION foo COMPONENT pkg_2)
install(FILES CMakeLists.txt DESTINATION foo COMPONENT pkg_3)
set(CPACK_PACKAGE_NAME "per_component")