Skip to content

Commit 9df3a66

Browse files
committed
Replace empty EXCLUDE variable with EXCLUDE_FROM_ALL
This was a mistake left over from the modernise PR
1 parent bb56706 commit 9df3a66

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
@@ -240,7 +240,7 @@ function( godotcpp_generate )
240240
set( HOT_RELOAD "$<IF:${HOT_RELOAD-UNSET},$<NOT:${IS_RELEASE}>,$<BOOL:${GODOT_USE_HOT_RELOAD}>>" )
241241

242242
# the godot-cpp.* library targets
243-
add_library( ${TARGET_NAME} STATIC ${EXCLUDE} )
243+
add_library( ${TARGET_NAME} STATIC EXCLUDE_FROM_ALL )
244244
add_library( godot-cpp::${TARGET_NAME} ALIAS ${TARGET_NAME} )
245245

246246
file( GLOB_RECURSE GODOTCPP_SOURCES LIST_DIRECTORIES NO CONFIGURE_DEPENDS src/*.cpp )

0 commit comments

Comments
 (0)