Skip to content
Snippets Groups Projects
Commit 7d4b1c01 authored by Andrey Lihatskiy's avatar Andrey Lihatskiy
Browse files

SL-13082 Declare macOS SDK version to be 10.12 instead of 10.15

parent 358b6519
No related branches found
No related tags found
No related merge requests found
......@@ -1462,6 +1462,7 @@ Tonya Souther
BUG-3875
BUG-3968
OPEN-345
SL-13082
Torben Trautman
TouchaHoney Perhaps
TraductoresAnonimos Alter
......
......@@ -1944,6 +1944,10 @@ elseif (DARWIN)
set_target_properties(${VIEWER_BINARY_NAME}
PROPERTIES
LINK_FLAGS_RELEASE "${LINK_FLAGS_RELEASE} -Xlinker -dead_strip -Xlinker -map -Xlinker ${CMAKE_CURRENT_BINARY_DIR}/${VIEWER_BINARY_NAME}.MAP"
# Force the SDK version in the linked executable to be 10.12. This will fool
# macOS into using the pre-Mojave display system, avoiding the blurry display that
# otherwise occurs when upscaling the viewer to Retina resolution levels.
LINK_FLAGS_RELEASE "${LINK_FLAGS_RELEASE} -Xlinker -platform_version -Xlinker macos -Xlinker ${CMAKE_OSX_DEPLOYMENT_TARGET} -Xlinker 10.12"
)
else (WINDOWS)
# Linux
......
......@@ -79,5 +79,7 @@
<string>${MACOSX_BUNDLE_NSPRINCIPAL_CLASS}</string>
<key>NSMainNibFile</key>
<string>${MACOSX_BUNDLE_NSMAIN_NIB_FILE}</string>
<key>NSHighResolutionCapable</key>
<true/>
</dict>
</plist>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment