浏览代码

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

CMake: fix break for build prior to modernisation PR
David Snopek 9 月之前
父节点
当前提交
af4eaa76d7
共有 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()