File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ set(STRATAGUS_PATCH_LEVEL2 0)
4040#########################
4141
4242project (stratagus)
43- cmake_minimum_required (VERSION 2.6 )
43+ cmake_minimum_required (VERSION 3.1 )
4444
4545set (STRATAGUS_VERSION "${STRATAGUS_MAJOR_VERSION} .${STRATAGUS_MINOR_VERSION} .${STRATAGUS_PATCH_LEVEL} " )
4646set (STRATAGUS_VERSION_FULL "${STRATAGUS_VERSION} .${STRATAGUS_PATCH_LEVEL2} " )
@@ -897,6 +897,10 @@ if(CMAKE_COMPILER_IS_GNUC)
897897endif()
898898# TODO: Add support for other compilers
899899
900+ #Wyrmgus start
901+ set(CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} ${CMAKE_CXX11_STANDARD_COMPILE_OPTION} ")
902+ #Wyrmgus end
903+
900904check_type_size(errno_t ERRNOT)
901905check_function_exists(" strcpy_s " HAVE_STRCPYS)
902906check_function_exists(" strncpy_s " HAVE_STRNCPYS)
You can’t perform that action at this time.
0 commit comments