mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Switch from manually-created Makefile to CMake. The bundled itslib has been removed so download it separately. To avoid a dependency on boost, also download and use cpputils. Closes: https://trac.macports.org/ticket/71472
15 lines
612 B
Diff
15 lines
612 B
Diff
Recognize CLT SDK
|
|
https://github.com/nlitsme/cpputils/issues/3
|
|
https://github.com/nlitsme/cpputils/pull/4
|
|
--- cmake_find/boilerplate.cmake.orig 2024-11-06 14:36:11.000000000 -0600
|
|
+++ cmake_find/boilerplate.cmake 2024-12-06 10:41:38.000000000 -0600
|
|
@@ -22,7 +22,7 @@
|
|
set(IPHONE TRUE)
|
|
elseif (${CMAKE_OSX_SYSROOT} MATCHES "/iPhoneSimulator.platform")
|
|
set(IPHONESIM TRUE)
|
|
- elseif (${CMAKE_OSX_SYSROOT} MATCHES "/MacOSX.platform")
|
|
+ elseif (${CMAKE_OSX_SYSROOT} MATCHES "/MacOSX.*\.sdk$")
|
|
set(MACOS TRUE)
|
|
else()
|
|
message(FATAL_ERROR "Unsupported apple platform")
|