Skip to content

Commit

Permalink
Add linker flags for AppleClang 15
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiashienzsch committed May 12, 2024
1 parent a622b73 commit 52dd19a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ra/raum_akustik/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,10 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows" AND ${RA_BUILD_ASIO})
target_include_directories(RaumAkustik PRIVATE ${CMAKE_SOURCE_DIR}/3rd_party/asiosdk_2.3.3_2019-06-14/common)
endif()


if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
if(${CMAKE_CXX_COMPILER_VERSION} VERSION_GREATER_EQUAL "15.0.0" AND ${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS "15.1")
target_compile_definitions(RaumAkustik PRIVATE JUCE_SILENCE_XCODE_15_LINKER_WARNING=1)
target_link_options(RaumAkustik PRIVATE -Wl,-ld_classic)
endif()
endif()

0 comments on commit 52dd19a

Please sign in to comment.