Merge pull request #1691 from enetheru/fix1690

CMake: Fix #1690 - DEBUG_FEATURES generator expression
master
David Snopek 2025-01-29 11:14:51 -06:00 committed by GitHub
commit 3c55ca7a14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ function( godotcpp_generate )
set( TARGET_NAME "godot-cpp.${TARGET_ALIAS}" ) set( TARGET_NAME "godot-cpp.${TARGET_ALIAS}" )
# Generator Expressions that rely on the target # Generator Expressions that rely on the target
set( DEBUG_FEATURES "$<NOT:$<STREQUAL:${TARGET_NAME},template_release>>" ) set( DEBUG_FEATURES "$<NOT:$<STREQUAL:${TARGET_ALIAS},template_release>>" )
set( HOT_RELOAD "$<IF:${HOT_RELOAD-UNSET},${DEBUG_FEATURES},$<BOOL:${GODOT_USE_HOT_RELOAD}>>" ) set( HOT_RELOAD "$<IF:${HOT_RELOAD-UNSET},${DEBUG_FEATURES},$<BOOL:${GODOT_USE_HOT_RELOAD}>>" )
# the godot-cpp.* library targets # the godot-cpp.* library targets