build: Remove old OSX SDK setting

This commit is contained in:
WerWolv
2025-08-28 17:23:24 +02:00
parent 228385ceaa
commit 5f206a33e2
2 changed files with 1 additions and 10 deletions

View File

@@ -60,15 +60,6 @@ set(LIBIMHEX_SOURCES
)
if (APPLE)
set(OSX_SDK_PATH /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk)
if (NOT CMAKE_OSX_SYSROOT)
if (IS_DIRECTORY ${OSX_SDK_PATH})
set(CMAKE_OSX_SYSROOT ${OSX_SDK_PATH})
else ()
message(WARNING "CMAKE_OSX_SYSROOT not set and macOS SDK not found! Using default one.")
endif ()
endif ()
set(LIBIMHEX_SOURCES ${LIBIMHEX_SOURCES}
source/helpers/utils_macos.m
source/helpers/macos_menu.m