Skip to content

Commit

Permalink
Manually add -Wno-deprecated to the CMake args for certain targets
Browse files Browse the repository at this point in the history
- The excessive deprecation warnings only seem to appear on these targets after adding `-Wno-deprecated` globally
  • Loading branch information
JesseTG committed Jan 8, 2025
1 parent 317ef0e commit 8510917
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
target: android
core-name: melondsds_libretro_android
archive-name: melondsds_libretro-android
cmake-args: -DENABLE_OGLRENDERER=OFF -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=24 -DCMAKE_TOOLCHAIN_FILE="$ANDROID_NDK/build/cmake/android.toolchain.cmake"
cmake-args: -DENABLE_OGLRENDERER=OFF -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=24 -DCMAKE_TOOLCHAIN_FILE="$ANDROID_NDK/build/cmake/android.toolchain.cmake" -Wno-deprecated
runs-on: ubuntu-latest
# Disabled OpenGL on Android due to https://github.com/JesseTG/melonds-ds/issues/23

Expand All @@ -154,7 +154,7 @@ jobs:
archive-name: melondsds_libretro-ios
info-dir: info
lib-ext: dylib
cmake-args: --toolchain ./cmake/toolchain/ios.toolchain.cmake -DPLATFORM=OS64 -DDEPLOYMENT_TARGET=14
cmake-args: --toolchain ./cmake/toolchain/ios.toolchain.cmake -DPLATFORM=OS64 -DDEPLOYMENT_TARGET=14 -Wno-deprecated
# Disabled OpenGL on iOS due to https://github.com/JesseTG/melonds-ds/issues/23

tvos:
Expand All @@ -166,5 +166,5 @@ jobs:
archive-name: melondsds_libretro-tvos
info-dir: info
lib-ext: dylib
cmake-args: --toolchain ./cmake/toolchain/ios.toolchain.cmake -DPLATFORM=TVOS -DDEPLOYMENT_TARGET=14
cmake-args: --toolchain ./cmake/toolchain/ios.toolchain.cmake -DPLATFORM=TVOS -DDEPLOYMENT_TARGET=14 -Wno-deprecated
# Disabled OpenGL on tvOS due to https://github.com/JesseTG/melonds-ds/issues/23

0 comments on commit 8510917

Please sign in to comment.