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.
1 parent 72ce0c8 commit d4ded05Copy full SHA for d4ded05
libunwind/src/CMakeLists.txt
@@ -24,9 +24,11 @@ set(LIBUNWIND_ASM_SOURCES
24
UnwindRegistersRestore.S
25
UnwindRegistersSave.S
26
)
27
-if (MINGW)
+if (MINGW OR APPLE)
28
# CMake doesn't build assembly sources for windows/gnu targets properly
29
# (up to current CMake, 3.16), so treat them as C files.
30
+ # Additionally, CMake ignores OSX_ARCHITECTURE for ASM files when targeting
31
+ # Apple platforms.
32
set_source_files_properties(${LIBUNWIND_ASM_SOURCES}
33
PROPERTIES
34
LANGUAGE C)
0 commit comments