From 530c2c534843d48bee6a0982c97f737cebb2a674 Mon Sep 17 00:00:00 2001 From: James R Date: Fri, 31 Mar 2023 05:27:56 -0700 Subject: [PATCH] acs/CMakeLists.txt: remove ACSVM_NOFLAGS, fix Apple Clang 14 compile This should be more correct everywhere but it specifically broke Apple Clang 14 compiling. --- src/acs/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/acs/CMakeLists.txt b/src/acs/CMakeLists.txt index fda2e72f9..ccf5fafee 100644 --- a/src/acs/CMakeLists.txt +++ b/src/acs/CMakeLists.txt @@ -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)