Browse Source

xcode+cmake: use SDL3.framework folder as IMPORTED_LOCATION

[ci skip]
Sam Lantinga 3 tháng trước cách đây
mục cha
commit
ad3c7b92f8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Xcode/SDL/pkg-support/resources/cmake/SDL3Config.cmake

+ 1 - 1
Xcode/SDL/pkg-support/resources/cmake/SDL3Config.cmake

@@ -59,7 +59,7 @@ if(NOT TARGET SDL3::SDL3-shared)
     set_target_properties(SDL3::SDL3-shared
         PROPERTIES
             FRAMEWORK "TRUE"
-            IMPORTED_LOCATION "${_sdl3_framework_path}/SDL3"
+            IMPORTED_LOCATION "${_sdl3_framework_path}"
             INTERFACE_LINK_LIBRARIES "SDL3::Headers"
             COMPATIBLE_INTERFACE_BOOL "SDL3_SHARED"
             INTERFACE_SDL3_SHARED "ON"