Skip to content

Commit

Permalink
Exclude unsupported compiler options that would warn in Xcode 15 but …
Browse files Browse the repository at this point in the history
…error in Xcode 16
  • Loading branch information
hdj-ableton committed Dec 2, 2024
1 parent 898f2f5 commit aa6dac7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cmake/SfizzConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,11 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
if(PROJECT_SYSTEM_PROCESSOR MATCHES "(i.86|x86_64)")
add_compile_options(-msse2)
elseif(PROJECT_SYSTEM_PROCESSOR MATCHES "(arm.*)")
add_compile_options(-mfpu=neon)
if(NOT ANDROID)
add_compile_options(-mfloat-abi=hard)
if(NOT APPLE)
add_compile_options(-mfpu=neon)
if(NOT ANDROID)
add_compile_options(-mfloat-abi=hard)
endif()
endif()
endif()
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
Expand Down

0 comments on commit aa6dac7

Please sign in to comment.