mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 10:23:41 +00:00
Pushing cmake to enforce C++ 11
To be able to compile with a recent ICU version (for Unicode) C++11 is required. This enforces this in the main CMakeLists.txt
This commit is contained in:
@@ -17,7 +17,11 @@
|
|||||||
# #
|
# #
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
cmake_minimum_required (VERSION 2.8.5)
|
# cmake_minimum_required (VERSION 2.8.5)
|
||||||
|
|
||||||
|
cmake_minimum_required(VERSION 3.1.3)
|
||||||
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
|
set(CMAKE_CXX_STANDARD_REQUIRED ON) # not necessary, but encouraged
|
||||||
|
|
||||||
project (IfcOpenShell)
|
project (IfcOpenShell)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user