소스 검색

static release build fix

mccakit 6 달 전
부모
커밋
2e4bc73916
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      CMakeLists.txt

+ 1 - 3
CMakeLists.txt

@@ -1614,9 +1614,7 @@ if(ANDROID)
       endif()
     endif()
   endif()
-  if(TARGET SDL3-shared)
-    target_link_options(SDL3-shared PRIVATE -Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/../android-project/android.export.sym)
-  elseif(TARGET SDL3-static)
+  if(TARGET SDL3-static)
     target_link_options(SDL3-static PRIVATE -Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/../android-project/android.export.sym)
   endif()