this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Added `TARGET_ARM64`. Added arch and build target.

Thomas A 8be655a6 61d1007d

+6
+1
CMakeLists.txt
··· 107 107 option(FULL_BUILD "Include large items in the build" ON) 108 108 option(TARGET_i386 "Enable i386 slices" ON) 109 109 option(TARGET_x86_64 "Enable x86_64 slices" ON) 110 + option(TARGET_ARM64 "Enable x86_64 slices" OFF) 110 111 option(DEBIAN_PACKAGING "Packaging for Debian" OFF) 111 112 option(ENABLE_TESTS "Install in-prefix unit tests" OFF) 112 113 option(ADDITIONAL_PACKAGES "Include additional pacakges not included by default in a standard macOS installation" OFF)
+5
cmake/architecture.cmake
··· 1 1 macro(generate_architecture) 2 2 if (TARGET_x86_64) 3 3 set(APPLE_ARCH_64BIT "x86_64") 4 + elseif (TARGET_ARM64) 5 + set(APPLE_ARCH_64BIT "arm64") 4 6 else () 5 7 set(APPLE_ARCH_64BIT "") 6 8 endif () ··· 14 16 if (TARGET_x86_64) 15 17 set(BUILD_TARGET_64BIT TRUE) 16 18 set(APPLE_TARGET_TRIPLET_64BIT "x86_64-apple-darwin19") 19 + elseif (TARGET_ARM64) 20 + set(BUILD_TARGET_64BIT TRUE) 21 + set(APPLE_TARGET_TRIPLET_64BIT "arm64-apple-macos11") 17 22 else () 18 23 set(BUILD_TARGET_64BIT FALSE) 19 24 set(APPLE_TARGET_TRIPLET_64BIT "")