Bläddra i källkod

CMake: re-add the godot::cpp alias pointing to template_debug

So that builds that relied on the alias already wont break.
Samuel Nicholas 8 månader sedan
förälder
incheckning
597055d13c
1 ändrade filer med 4 tillägg och 0 borttagningar
  1. 4 0
      cmake/godotcpp.cmake

+ 4 - 0
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()