mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 00:19:00 +08:00
15 lines
515 B
Diff
15 lines
515 B
Diff
|
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)
|