aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/Modules/Packager.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/Packager.cmake')
-rw-r--r--cmake/Modules/Packager.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/Modules/Packager.cmake b/cmake/Modules/Packager.cmake
index 5e77d7de0..1edfd671d 100644
--- a/cmake/Modules/Packager.cmake
+++ b/cmake/Modules/Packager.cmake
@@ -106,7 +106,8 @@ macro(make_packages)
get_next_version(${tag} next_version)
get_cmake_property(components COMPONENTS)
- get_cmake_property(CPACK_COMPONENTS_ALL COMPONENTS)
+ list(REMOVE_ITEM components "Unspecified")
+ set(CPACK_COMPONENTS_ALL ${components})
if(OS_ID MATCHES "debian" OR OS_ID_LIKE MATCHES "debian")
set(CPACK_GENERATOR "DEB")