Skip to content

Commit 2b5815a

Browse files
authored
Update CMakeLists.txt
1 parent f6147e0 commit 2b5815a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,7 +1506,7 @@ elseif(OHOS)
15061506
# disable warnings from the toolchain
15071507
sdl_compile_options(PRIVATE "-Wno-unused-command-line-argument")
15081508

1509-
sdl_link_dependency(OHOS_LIBS LIBS ace_napi.z hilog_ndk.z ace_ndk.z rawfile.z pixelmap_ndk.z)
1509+
sdl_link_dependency(ohos LIBS ace_napi.z hilog_ndk.z ace_ndk.z rawfile.z pixelmap_ndk.z)
15101510
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/core/ohos/*.c")
15111511

15121512
if(SDL_VIDEO)
@@ -3572,8 +3572,6 @@ if(SDL_SHARED)
35723572
RESOURCE "${SDL_FRAMEWORK_RESOURCES}"
35733573
)
35743574
endif()
3575-
elseif(OHOS)
3576-
# disable libtool postfix
35773575
elseif(UNIX AND NOT ANDROID)
35783576
set_target_properties(SDL3-shared PROPERTIES
35793577
VERSION "${SDL_SO_VERSION}"

0 commit comments

Comments
 (0)