Skip to content

Commit

Permalink
Enable C++17 for Android standalone builds. (#1158)
Browse files Browse the repository at this point in the history
Was previously only enabled for OpenJDK and Platform builds.
  • Loading branch information
prbprbprb authored Aug 11, 2023
1 parent c0c3316 commit d0f60fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ if (androidSdkInstalled) {
cmake {
arguments '-DANDROID=True',
'-DANDROID_STL=c++_static',
"-DBORINGSSL_HOME=$boringsslHome"
"-DBORINGSSL_HOME=$boringsslHome",
"-DCMAKE_CXX_STANDARD=17"
cFlags '-fvisibility=hidden',
'-DBORINGSSL_SHARED_LIBRARY',
'-DBORINGSSL_IMPLEMENTATION',
Expand Down

0 comments on commit d0f60fe

Please sign in to comment.