Skip to content

Commit 3c55ca7

Browse files
authored
Merge pull request godotengine#1691 from enetheru/fix1690
CMake: Fix godotengine#1690 - DEBUG_FEATURES generator expression
2 parents 13cd2d9 + 9ce7a71 commit 3c55ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/godotcpp.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ function( godotcpp_generate )
280280
set( TARGET_NAME "godot-cpp.${TARGET_ALIAS}" )
281281

282282
# Generator Expressions that rely on the target
283-
set( DEBUG_FEATURES "$<NOT:$<STREQUAL:${TARGET_NAME},template_release>>" )
283+
set( DEBUG_FEATURES "$<NOT:$<STREQUAL:${TARGET_ALIAS},template_release>>" )
284284
set( HOT_RELOAD "$<IF:${HOT_RELOAD-UNSET},${DEBUG_FEATURES},$<BOOL:${GODOT_USE_HOT_RELOAD}>>" )
285285

286286
# the godot-cpp.* library targets

0 commit comments

Comments
 (0)