Skip to content

Commit

Permalink
change CMake toolchain file CMAKE_ANDROID_EXCEPTION to
Browse files Browse the repository at this point in the history
CMAKE_ANDROID_EXCEPTIONS

Bug: android/ndk#1618
Test: None
Change-Id: I40c6db01bd34123640e826ebda5eb4f9c94fe075
(cherry picked from commit 379a69bce48ee049f21f91490f0429c8c1c6a92a)
Merged-In: I40c6db01bd34123640e826ebda5eb4f9c94fe075
  • Loading branch information
ZijunZhaoCCK authored and Android Build Coastguard Worker committed Apr 22, 2022
1 parent f44598c commit dbad327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/cmake/android.toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,10 @@ if(ANDROID_CPP_FEATURES)
set(CMAKE_ANDROID_RTTI FALSE)
endif()
if(${feature} STREQUAL "exceptions")
set(CMAKE_ANDROID_EXCEPTION TRUE)
set(CMAKE_ANDROID_EXCEPTIONS TRUE)
endif()
if(${feature} STREQUAL "no-exceptions")
set(CMAKE_ANDROID_EXCEPTION FALSE)
set(CMAKE_ANDROID_EXCEPTIONS FALSE)
endif()
endforeach()
string(REPLACE ";" " " ANDROID_CPP_FEATURES "${ANDROID_CPP_FEATURES}")
Expand Down

0 comments on commit dbad327

Please sign in to comment.