diff --git a/CMakeLists.txt b/CMakeLists.txt index c924b45..72ffd64 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,9 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.12 FATAL_ERROR) # ---[ Project and semantic versioning. PROJECT(XNNPACK C CXX ASM) +set(CMAKE_CXX_STANDARD 11) +set(CMAKE_C_STANDARD 11) + # ---[ Options. SET(XNNPACK_LIBRARY_TYPE "default" CACHE STRING "Type of library (shared, static, or default) to build") SET_PROPERTY(CACHE XNNPACK_LIBRARY_TYPE PROPERTY STRINGS default static shared)