set cxx11 for all of megasource

--HG--
branch : cxx11
This commit is contained in:
Tanner Rogalsky
2017-05-11 10:25:25 -04:00
parent 971b15aa4c
commit e46be09cc1
+3 -1
View File
@@ -3,7 +3,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
message(FATAL_ERROR "Prevented in-tree build.")
endif()
cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.1)
include(ExternalProject)
@@ -11,6 +11,8 @@ project(megasource)
set(MEGA TRUE)
set (CMAKE_CXX_STANDARD 11)
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(MEGA_X64 TRUE)
set(MEGA_ARCH x64)