Browse Source

Merge pull request #1649 from enetheru/fix-backward-break

CMake: fix break for build prior to modernisation PR
David Snopek 8 months ago
parent
commit
af4eaa76d7
1 changed files with 4 additions and 0 deletions
  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()