cmake_modules/cpackvars.cmake
changeset 15476 3102d95a870e
parent 15474 6e09555b25b4
child 15479 85653290114f
--- a/cmake_modules/cpackvars.cmake	Wed Oct 09 18:08:37 2019 +0200
+++ b/cmake_modules/cpackvars.cmake	Wed Oct 09 18:12:09 2019 +0200
@@ -1,6 +1,6 @@
 
 # revision information in cpack-generated names
-if(CMAKE_BUILD_TYPE MATCHES "Debug")
+if(CMAKE_BUILD_TYPE STREQUAL "Debug")
     set(full_suffix "${HEDGEWARS_VERSION}-r${HEDGEWARS_REVISION}")
 else()
     set(full_suffix "${HEDGEWARS_VERSION}")