diff --git a/cmake/osx-arm64.cmake b/cmake/osx-arm64.cmake new file mode 100644 index 0000000..b708f77 --- /dev/null +++ b/cmake/osx-arm64.cmake @@ -0,0 +1,14 @@ +# QUIK Toolchain file for OSX-ARM64 systems. +# Copyright (C) 2024 + +set(CMAKE_SYSTEM_NAME OSX) + +set(CMAKE_C_COMPILER aarch64-apple-darwin23-clang) +set(CMAKE_CXX_COMPILER aarch64-apple-darwin23-clang++) + +set(CMAKE_FIND_ROOT_PATH "/usr/local/SDK/MacOSX14.0.sdk/usr" + "/usr/local/SDK/MacOSX14.0.sdk/System") + +set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) +set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) +set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) diff --git a/cmake/osx-x64.cmake b/cmake/osx-x64.cmake new file mode 100644 index 0000000..5af58d8 --- /dev/null +++ b/cmake/osx-x64.cmake @@ -0,0 +1,14 @@ +# QUIK Toolchain file for OSX-ARM64 systems. +# Copyright (C) 2024 + +set(CMAKE_SYSTEM_NAME OSX) + +set(CMAKE_C_COMPILER x86_64-apple-darwin23-clang) +set(CMAKE_CXX_COMPILER x86_64-apple-darwin23-clang++) + +set(CMAKE_FIND_ROOT_PATH "/usr/local/SDK/MacOSX14.0.sdk/usr" + "/usr/local/SDK/MacOSX14.0.sdk/System") + +set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) +set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) +set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)