diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt index 30d85bc..2619315 100644 --- a/server/CMakeLists.txt +++ b/server/CMakeLists.txt @@ -238,7 +238,7 @@ elseif (BUILD_TYPE_NAME STREQUAL "") else () SET(CPACK_PACKAGE_VERSION_DATA "-${BUILD_TYPE_NAME}") endif () -if (BUILD_TYPE EQUAL OFF) +if (NOT BUILD_TYPE AND NOT BUILD_TYPE STREQUAL "0") SET(BUILD_TYPE "1") endif () set_source_files_properties(src/build.cpp PROPERTIES