mirror of
https://github.com/love2d/megasource.git
synced 2026-08-12 00:20:55 +02:00
set cxx11 for all of megasource
--HG-- branch : cxx11
This commit is contained in:
+3
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user