1 2 3 4 5
set(CPACK_COMPONENTS_ALL test) install(DIRECTORY DESTINATION empty COMPONENT test) set(CPACK_PACKAGE_NAME "components_empty_dir")