From 9ce7a71cbf152f48a2314ef1ab3797c4c9a81f8c Mon Sep 17 00:00:00 2001 From: Samuel Nicholas Date: Thu, 23 Jan 2025 14:36:48 +1030 Subject: [PATCH] CMake: Fix #1690 - DEBUG_FEATURES generator expression As described in issue #1690 the expression needs to depend on TARGET_ALIAS not TARGET_NAME. This was introduced when I was solving the naming conflict issues and I missed this usage. --- cmake/godotcpp.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/godotcpp.cmake b/cmake/godotcpp.cmake index 49480699..70575e11 100644 --- a/cmake/godotcpp.cmake +++ b/cmake/godotcpp.cmake @@ -280,7 +280,7 @@ function( godotcpp_generate ) set( TARGET_NAME "godot-cpp.${TARGET_ALIAS}" ) # Generator Expressions that rely on the target - set( DEBUG_FEATURES "$>" ) + set( DEBUG_FEATURES "$>" ) set( HOT_RELOAD "$>" ) # the godot-cpp.* library targets