mirror of https://github.com/axmolengine/axmol.git
Fix ci
This commit is contained in:
parent
d3689167e9
commit
ef518b1a6c
|
@ -178,10 +178,8 @@ set(LIB_VERSION_NUM ${LIB_MAJOR_VERSION},${LIB_MINOR_VERSION},${LIB_REVISION},0)
|
|||
set(EXPORT_DECL "")
|
||||
|
||||
|
||||
# Require C++14
|
||||
if(NOT DEFINED CMAKE_CXX_STANDARD)
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
endif()
|
||||
# Require C++17
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
|
||||
|
||||
# Prefer C11, but support C99 and C90 too.
|
||||
|
|
Loading…
Reference in New Issue