Merge branch 'fix-apple-clang-14-compile' into 'master'

Fix Apple Clang 14 compile

See merge request KartKrew/Kart!1126
This commit is contained in:
James R 2023-04-02 07:27:09 +00:00
commit d108f4e14d

View file

@ -13,7 +13,11 @@ target_sources(SRB2SDL2 PRIVATE
target_include_directories(SRB2SDL2 PRIVATE vm) # This sucks
set(ACSVM_NOFLAGS ON)
# This breaks Apple Clang 14 compile. It should be totally
# unecessary since even though vm/CMakeLists.txt sets
# CMAKE_CXX_FLAGS, it is in a lower scope.
#set(ACSVM_NOFLAGS ON)
set(ACSVM_SHARED OFF)
add_subdirectory(vm)