mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 19:39:01 +08:00
19 lines
522 B
Diff
19 lines
522 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index ae66913..893e3ea 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -1,9 +1,9 @@
|
|
-cmake_minimum_required(VERSION 3.0)
|
|
+cmake_minimum_required(VERSION 3.1)
|
|
project(libgig)
|
|
|
|
-if(NOT MSVC)
|
|
- message(FATAL_ERROR "Please use configure and make, this cmake file is currently only to generate msvc solution files")
|
|
-endif()
|
|
+#To force the compiler to use C++ 11
|
|
+set(CMAKE_CXX_STANDARD 11)
|
|
+set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
|
|
|
|
|
|
#configuration options
|