Skip to content

Commit

Permalink
Merge pull request #1691 from enetheru/fix1690
Browse files Browse the repository at this point in the history
CMake: Fix #1690 - DEBUG_FEATURES generator expression
  • Loading branch information
dsnopek authored Jan 29, 2025
2 parents 13cd2d9 + 9ce7a71 commit 3c55ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/godotcpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ function( godotcpp_generate )
set( TARGET_NAME "godot-cpp.${TARGET_ALIAS}" )

# 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}>>" )

# the godot-cpp.* library targets
Expand Down

0 comments on commit 3c55ca7

Please sign in to comment.