diff --git a/CMakeLists.txt b/CMakeLists.txt index ae637e889..761bdaa97 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -183,8 +183,10 @@ if("${BLANKART_EXE_NAME}" STREQUAL "") list(APPEND EXE_NAME_PARTS ${SRB2_GIT_BRANCH}) endif() - string(TOLOWER "${CMAKE_BUILD_TYPE}" BLDTYPE_READOUT) - list(APPEND EXE_NAME_PARTS ${BLDTYPE_READOUT}) + if(NOT "${NOAPPENDBUILD}") + string(TOLOWER "${CMAKE_BUILD_TYPE}" BLDTYPE_READOUT) + list(APPEND EXE_NAME_PARTS ${BLDTYPE_READOUT}) + endif() if(SRB2_CONFIG_COMPILEAPPIMAGE AND "${CMAKE_SYSTEM_NAME}" MATCHES "Linux") list(APPEND EXE_NAME_PARTS "appimagebuild")