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.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Modules/Packager.cmake b/cmake/Modules/Packager.cmake
index 15b5951fa..b19145025 100644
--- a/cmake/Modules/Packager.cmake
+++ b/cmake/Modules/Packager.cmake
@@ -82,7 +82,7 @@ macro(make_packages)
set(CPACK_PACKAGE_VERSION "${deb_ver}")
foreach(lc ${components})
- if (${lc} MATCHES "Unspecified.*")
+ if (${lc} MATCHES ".*Unspecified.*")
continue()
endif()
@@ -110,7 +110,7 @@ macro(make_packages)
set(CPACK_PACKAGE_VERSION "${rpm_ver}")
foreach(lc ${components})
- if (${lc} MATCHES "Unspecified.*")
+ if (${lc} MATCHES ".*Unspecified.*")
continue()
endif()