Skip to content

Commit

Permalink
Fix erroneous test for XCode 15.1 (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
asimilon authored Mar 31, 2024
1 parent 55ec146 commit 8d0754f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/ClapTargetHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function(clap_juce_extensions_plugin_internal)

# Address the xcode linker juce issue
# see: https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/43
if( ${CMAKE_CXX_COMPILER_VERSION} VERSION_GREATER_EQUAL "15.0.0" AND ${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS "15.1")
if( ${CMAKE_CXX_COMPILER_VERSION} VERSION_GREATER_EQUAL "15.0.0" AND ${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS "15.0.0.15000100")
target_link_options(${claptarget} PUBLIC "-Wl,-ld_classic")
target_compile_definitions(${claptarget} PUBLIC JUCE_SILENCE_XCODE_15_LINKER_WARNING=1)
if (${CMAKE_OSX_DEPLOYMENT_TARGET} VERSION_LESS "10.13")
Expand Down

0 comments on commit 8d0754f

Please sign in to comment.