Skip to content

Commit

Permalink
10.13 xcode 15 handling
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Nov 8, 2023
1 parent 7d2e911 commit 923ab40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/ClapTargetHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ function(clap_juce_extensions_plugin_internal)
target_link_options(${claptarget} PUBLIC "-Wl,,-ld_classic")
target_compile_definitions(${claptarget} PUBLIC JUCE_SILENCE_XCODE_15_LINKER_WARNING=TRUE)
if (${CMAKE_OSX_DEPLOYMENT_TARGET} VERSION_LESS "10.13")
message(FATAL_ERROR "Projucer and Xcode 15.0 can only depoy for macOS 10.13 and higher")
message(STATUS "Changing OSX Deployment Target from ${CMAKE_OSX_DEPLOYMENT_TARGET} to 10.13 for XCode 15")
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.13" CACHE STRING "Minimum OS X deployment target" FORCE)
endif()
endif()
else()
Expand Down

0 comments on commit 923ab40

Please sign in to comment.