Fix XCode 15 build errors and bump version to 1.8.0

This commit is contained in:
SoftFever 2023-09-30 10:32:15 +08:00
parent bef3c75458
commit 3b5f42cf49
2 changed files with 5 additions and 1 deletions

View file

@ -113,6 +113,10 @@ if (MSVC)
add_compile_options(/wd4244 /wd4267)
endif ()
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "AppleClang" AND ${CMAKE_CXX_COMPILER_VERSION} VERSION_GREATER 15)
add_compile_definitions(BOOST_NO_CXX98_FUNCTION_BASE _HAS_AUTO_PTR_ETC=0)
endif()
if (MINGW)
add_compile_options(-Wa,-mbig-obj)
endif ()

View file

@ -10,7 +10,7 @@ endif()
if(NOT DEFINED BBL_INTERNAL_TESTING)
set(BBL_INTERNAL_TESTING "1")
endif()
set(SoftFever_VERSION "1.7.0")
set(SoftFever_VERSION "1.8.0-dev")
string(REGEX MATCH "^([0-9]+)\\.([0-9]+)\\.([0-9]+)"
SoftFever_VERSION_MATCH ${SoftFever_VERSION})
set(ORCA_VERSION_MAJOR ${CMAKE_MATCH_1})