diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 39c5891d60..f5992cd869 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13) project(godot-cpp-test) if( NOT CMAKE_BUILD_TYPE ) - set(GODOT_CPP_BUILD_TYPE Release) + set(CMAKE_BUILD_TYPE Release) endif() #set(GODOT_GDEXTENSION_DIR ../gdextension/ CACHE STRING "Path to GDExtension interface header directory") @@ -121,7 +121,7 @@ endif(CMAKE_SIZEOF_VOID_P EQUAL 8) string(TOLOWER ${CMAKE_SYSTEM_NAME} SYSTEM_NAME) -string(TOLOWER ${GODOT_CPP_BUILD_TYPE} BUILD_TYPE) +string(TOLOWER ${CMAKE_BUILD_TYPE} BUILD_TYPE) if(ANDROID) # Added the android abi after system name