summaryrefslogtreecommitdiffstats
path: root/src/cmake/pack.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmake/pack.cmake')
-rw-r--r--src/cmake/pack.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmake/pack.cmake b/src/cmake/pack.cmake
index f4edecb956a..88b62548211 100644
--- a/src/cmake/pack.cmake
+++ b/src/cmake/pack.cmake
@@ -65,7 +65,7 @@ macro(add_vpp_packaging)
set(CPACK_${type}_PACKAGE_RELEASE 1)
# Pure Debian does not set the "OS_ID_LIKE", it only sets "OS_ID"
- if (OS_ID_LIKE MATCHES "")
+ if (NOT DEFINED OS_ID_LIKE)
set(OS_ID_LIKE "${OS_ID}")
endif()