Skip to content

Commit 163189f

Browse files
authored
Merge pull request #1660 from enetheru/exclude_typo
CMake: Replace empty ${EXCLUDE} variable with EXCLUDE_FROM_ALL
2 parents 4eaef4c + 9df3a66 commit 163189f

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)