1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-10-06 09:17:07 +02:00

Fix ci compilation

error:
CMAKE_BUILD_TYPE must be set to Debug or Release
This commit is contained in:
Elias Steurer 2023-10-12 15:35:59 +02:00
parent bf80e2eeee
commit 5f331043e2

View File

@ -10,7 +10,7 @@ add_dependencies(${PROJECT_NAME} templates)
# We shouldn't be relying on CMAKE_BUILD_TYPE (see https://github.com/asmaloney/GDExtensionTemplate/issues/25)
# But until we fix it here and in godot-cpp, ensure it's one we expect.
set(ALLOWED_BUILDS "Debug;Release")
set(ALLOWED_BUILDS "Debug;Release;debug;release")
if(NOT "${CMAKE_BUILD_TYPE}" IN_LIST ALLOWED_BUILDS)
message(FATAL_ERROR "CMAKE_BUILD_TYPE must be set to Debug or Release")