[PATCH] D102013: [Fuchsia][CMake] Update OSX deployment target
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 6 12:01:05 PDT 2021
phosek created this revision.
phosek added reviewers: leonardchan, haowei, mcgrathr, gulfem.
Herald added a subscriber: mgorny.
phosek requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Use correct spelling of CMAKE_OSX_DEPLOYMENT_TARGET and bump the
minimum version to 10.13 which matches what we use for host tools
in Fuchsia.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D102013
Files:
clang/cmake/caches/Fuchsia-stage2.cmake
clang/cmake/caches/Fuchsia.cmake
Index: clang/cmake/caches/Fuchsia.cmake
===================================================================
--- clang/cmake/caches/Fuchsia.cmake
+++ clang/cmake/caches/Fuchsia.cmake
@@ -36,7 +36,7 @@
set(LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "")
set(CMAKE_BUILD_TYPE Release CACHE STRING "")
if(APPLE)
- set(MACOSX_DEPLOYMENT_TARGET 10.7 CACHE STRING "")
+ set(CMAKE_OSX_DEPLOYMENT_TARGET "10.13" CACHE STRING "")
elseif(MSVC)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded" CACHE STRING "")
endif()
Index: clang/cmake/caches/Fuchsia-stage2.cmake
===================================================================
--- clang/cmake/caches/Fuchsia-stage2.cmake
+++ clang/cmake/caches/Fuchsia-stage2.cmake
@@ -42,7 +42,7 @@
set(CMAKE_BUILD_TYPE Release CACHE STRING "")
if (APPLE)
- set(MACOSX_DEPLOYMENT_TARGET 10.7 CACHE STRING "")
+ set(CMAKE_OSX_DEPLOYMENT_TARGET "10.13" CACHE STRING "")
elseif(MSVC)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded" CACHE STRING "")
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102013.343467.patch
Type: text/x-patch
Size: 994 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210506/aa167770/attachment.bin>
More information about the cfe-commits
mailing list