Skip to content

Commit

Permalink
Add support for recent macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
andystanton committed Nov 5, 2021
1 parent 1e6760b commit cc311be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set(CAN_USE_ASSEMBLER TRUE)
if (APPLE)
set(CMAKE_ASM_NASM_OBJECT_FORMAT macho64)
set(CMAKE_ASM_NASM_FLAGS "-DMACOS")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -macosx_version_min 10.13 -no_pie")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -macosx_version_min 10.13 -no_pie -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib")
endif (APPLE)

if (UNIX AND NOT APPLE)
Expand Down

0 comments on commit cc311be

Please sign in to comment.