From 2b5815ad720083f0cd0477c4db0c39886fd08e06 Mon Sep 17 00:00:00 2001 From: Coder2 <83895170+Jack253-png@users.noreply.github.com> Date: Sun, 8 Jun 2025 06:50:03 +0800 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 24f1ddaf3b..6133950ebe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1506,7 +1506,7 @@ elseif(OHOS) # disable warnings from the toolchain sdl_compile_options(PRIVATE "-Wno-unused-command-line-argument") - sdl_link_dependency(OHOS_LIBS LIBS ace_napi.z hilog_ndk.z ace_ndk.z rawfile.z pixelmap_ndk.z) + sdl_link_dependency(ohos LIBS ace_napi.z hilog_ndk.z ace_ndk.z rawfile.z pixelmap_ndk.z) sdl_glob_sources("${SDL3_SOURCE_DIR}/src/core/ohos/*.c") if(SDL_VIDEO) @@ -3572,8 +3572,6 @@ if(SDL_SHARED) RESOURCE "${SDL_FRAMEWORK_RESOURCES}" ) endif() - elseif(OHOS) - # disable libtool postfix elseif(UNIX AND NOT ANDROID) set_target_properties(SDL3-shared PROPERTIES VERSION "${SDL_SO_VERSION}"