diff --git a/CMakeLists.txt b/CMakeLists.txt index 0988edc24..4f999658f 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -134,7 +134,7 @@ ENDIF () IF (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - IF (BUILD_WITH_CXX_17) + IF (BUILD_WITH_CXX_17 OR CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64") SET (CMAKE_CXX_STANDARD 17)