Skip to content

Commit 7414332

Browse files
authored
Disable CMake deprecation warnings in Android NDK (#24)
Current NDK toolchain file always triggers these, so we can't fix them in the project wrapper.
1 parent b36b46d commit 7414332

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android_build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ cmake \
5252
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
5353
-DCMAKE_TOOLCHAIN_FILE="${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake" \
5454
-DCMAKE_INSTALL_PREFIX=../ \
55+
-DCMAKE_WARN_DEPRECATED=OFF \
5556
..
5657

5758
make install -j8

0 commit comments

Comments
 (0)