We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cef544c + 6c0ebd0 commit e566cbaCopy full SHA for e566cba
lldb/tools/debugserver/source/CMakeLists.txt
@@ -88,21 +88,21 @@ include(CheckCSourceCompiles)
88
check_c_source_compiles(
89
"
90
#include <TargetConditionals.h>
91
- #if TARGET_CPU_ARM
+ #if TARGET_CPU_ARM64
92
#if TARGET_OS_OSX
93
#warning Building for macOS
94
#else
95
#error Not building for macOS
96
#endif
97
98
- #error Not building for ARM
+ #error Not building for ARM64
99
100
int main() { return 0; }
101
102
- BUILDING_FOR_ARM_OSX
+ BUILDING_FOR_ARM64_OSX
103
)
104
105
-if (BUILDING_FOR_ARM_OSX)
+if (BUILDING_FOR_ARM64_OSX)
106
set(CMAKE_OSX_ARCHITECTURES "arm64;arm64e")
107
endif ()
108
0 commit comments