when not DEBUG set USE_DEBUG_HELPERS OFF

when not DEBUG set USE_DEBUG_HELPERS OFF
This commit is contained in:
Ben 2022-01-23 22:15:51 +08:00 committed by benbiti
parent 7fffe5846f
commit 35bacb1159

View File

@ -257,7 +257,7 @@ endif()
if (CMAKE_BUILD_TYPE_UC STREQUAL "DEBUG")
set(USE_DEBUG_HELPERS ON)
else ()
set(USE_DEBUG_HELPERS ON)
set(USE_DEBUG_HELPERS OFF)
endif()
option(USE_DEBUG_HELPERS "Enable debug helpers" ${USE_DEBUG_HELPERS})