From 597055d13cfd8cdac51285ab59c5f7c570b4ee33 Mon Sep 17 00:00:00 2001 From: Samuel Nicholas Date: Sun, 24 Nov 2024 00:06:57 +1030 Subject: [PATCH] CMake: re-add the godot::cpp alias pointing to template_debug So that builds that relied on the alias already wont break. --- cmake/godotcpp.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/godotcpp.cmake b/cmake/godotcpp.cmake index 736d1e3e..c6ba53a3 100644 --- a/cmake/godotcpp.cmake +++ b/cmake/godotcpp.cmake @@ -293,4 +293,8 @@ function( godotcpp_generate ) endforeach () + # Added for backwards compatibility with prior cmake solution so that builds dont immediately break + # from a missing target. + add_library( godot::cpp ALIAS template_debug ) + endfunction()