Skip to content

Commit

Permalink
Replace empty EXCLUDE variable with EXCLUDE_FROM_ALL
Browse files Browse the repository at this point in the history
This was a mistake left over from the modernise PR
  • Loading branch information
enetheru committed Nov 28, 2024
1 parent b378d8c commit f0f5860
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 @@ -240,7 +240,7 @@ function( godotcpp_generate )
set( HOT_RELOAD "$<IF:${HOT_RELOAD-UNSET},$<NOT:${IS_RELEASE}>,$<BOOL:${GODOT_USE_HOT_RELOAD}>>" )

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

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

0 comments on commit f0f5860

Please sign in to comment.