Преглед изворни кода

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

So that builds that relied on the alias already wont break.
Samuel Nicholas пре 10 месеци
родитељ
комит
597055d13c
1 измењених фајлова са 4 додато и 0 уклоњено
  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()