Skip to content

Commit fdbd24c

Browse files
committed
Disable CMake deprecation warnings in Android NDK
Current NDK toolchain file always triggers these, so we can't fix them in the project wrapper.
1 parent c0023f5 commit fdbd24c

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)