Skip to content

Commit

Permalink
[fix] make sure macOS deployment target 10.12 is set
Browse files Browse the repository at this point in the history
  • Loading branch information
scheffle committed Mar 29, 2021
1 parent 83a63a6 commit b3b2b8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,19 +102,23 @@ if(CMAKE_HOST_APPLE)
XCODE_ATTRIBUTE_ARCHS "$(ARCHS_STANDARD_64_BIT)"
XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH "$<$<CONFIG:Debug>:YES>$<$<CONFIG:Release>:NO>"
XCODE_GENERATE_SCHEME YES
XCODE_MACOSX_DEPLOYMENT_TARGET 10.12
)
#make sure the vstgui libraries are build as universal binary
set_target_properties(vstgui PROPERTIES
XCODE_ATTRIBUTE_ARCHS "$(ARCHS_STANDARD_64_BIT)"
XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH "$<$<CONFIG:Debug>:YES>$<$<CONFIG:Release>:NO>"
XCODE_MACOSX_DEPLOYMENT_TARGET 10.12
)
set_target_properties(vstgui_uidescription PROPERTIES
XCODE_ATTRIBUTE_ARCHS "$(ARCHS_STANDARD_64_BIT)"
XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH "$<$<CONFIG:Debug>:YES>$<$<CONFIG:Release>:NO>"
XCODE_MACOSX_DEPLOYMENT_TARGET 10.12
)
set_target_properties(vstgui_standalone PROPERTIES
XCODE_ATTRIBUTE_ARCHS "$(ARCHS_STANDARD_64_BIT)"
XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH "$<$<CONFIG:Debug>:YES>$<$<CONFIG:Release>:NO>"
XCODE_MACOSX_DEPLOYMENT_TARGET 10.12
)

elseif(MSVC)
Expand Down

0 comments on commit b3b2b8f

Please sign in to comment.