소스 검색

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()