Fixed cmake

This commit is contained in:
WolverinDEV 2020-01-24 18:26:32 +01:00
parent 6564969a28
commit 60a12b4085

View File

@ -238,7 +238,7 @@ elseif (BUILD_TYPE_NAME STREQUAL "")
else () else ()
SET(CPACK_PACKAGE_VERSION_DATA "-${BUILD_TYPE_NAME}") SET(CPACK_PACKAGE_VERSION_DATA "-${BUILD_TYPE_NAME}")
endif () endif ()
if (BUILD_TYPE EQUAL OFF) if (NOT BUILD_TYPE AND NOT BUILD_TYPE STREQUAL "0")
SET(BUILD_TYPE "1") SET(BUILD_TYPE "1")
endif () endif ()
set_source_files_properties(src/build.cpp PROPERTIES set_source_files_properties(src/build.cpp PROPERTIES