From 9df3a66a88e5eb47781ce83ec490d23c7fc20b70 Mon Sep 17 00:00:00 2001 From: Samuel Nicholas Date: Thu, 28 Nov 2024 23:39:32 +1030 Subject: [PATCH] Replace empty EXCLUDE variable with EXCLUDE_FROM_ALL This was a mistake left over from the modernise PR --- cmake/godotcpp.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/godotcpp.cmake b/cmake/godotcpp.cmake index c6ba53a3..13f1bfdb 100644 --- a/cmake/godotcpp.cmake +++ b/cmake/godotcpp.cmake @@ -240,7 +240,7 @@ function( godotcpp_generate ) set( 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 )