mirror of https://github.com/libsdl-org/SDL.git
Update CMakeLists.txt
This commit is contained in:
parent
4781c60983
commit
56cea28cbd
|
|
@ -1506,9 +1506,6 @@ elseif(OHOS)
|
||||||
# disable warnings from the toolchain
|
# disable warnings from the toolchain
|
||||||
sdl_compile_options(PRIVATE "-Wno-unused-command-line-argument")
|
sdl_compile_options(PRIVATE "-Wno-unused-command-line-argument")
|
||||||
|
|
||||||
set(CMAKE_C_COMPILER_EXTERNAL_TOOLCHAIN "")
|
|
||||||
set(CMAKE_CXX_COMPILER_EXTERNAL_TOOLCHAIN "")
|
|
||||||
|
|
||||||
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 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")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/core/ohos/*.c")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue