mirror of
https://github.com/android/ndk-samples
synced 2025-11-09 01:26:42 +08:00
Require C++17 in display-p3/image-view.
This commit is contained in:
@@ -21,7 +21,7 @@ get_filename_component(THIRD_PARTY_LIB_DIR
|
|||||||
ABSOLUTE)
|
ABSOLUTE)
|
||||||
|
|
||||||
# now build app's shared lib
|
# now build app's shared lib
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11 -Werror -Wall -Wno-unused-function")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -Werror -Wall -Wno-unused-function")
|
||||||
|
|
||||||
add_library(native-activity SHARED
|
add_library(native-activity SHARED
|
||||||
${ANDROID_NDK}/sources/android/native_app_glue/android_native_app_glue.c
|
${ANDROID_NDK}/sources/android/native_app_glue/android_native_app_glue.c
|
||||||
|
|||||||
Reference in New Issue
Block a user