Skip to content

Commit 3372187

Browse files
committed
Special-case 'mach-o' as the file names have 'macho'
1 parent 29bca8e commit 3372187

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ endif()
9999

100100
# Choose .asm sources
101101

102+
if(BOOST_CONTEXT_BINARY_FORMAT STREQUAL mach-o)
103+
set(BOOST_CONTEXT_BINARY_FORMAT macho)
104+
endif()
105+
102106
set(_asm_suffix ${BOOST_CONTEXT_ARCHITECTURE}_${BOOST_CONTEXT_ABI}_${BOOST_CONTEXT_BINARY_FORMAT}_${BOOST_CONTEXT_ASSEMBLER}${BOOST_CONTEXT_ASM_SUFFIX})
103107

104108
set(ASM_SOURCES

0 commit comments

Comments
 (0)