Skip to content

Commit

Permalink
Fix build errors on Darwin (Apple) ARM64 and Intel closes #2858
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Krey <[email protected]>
  • Loading branch information
ckrey authored and ralight committed Oct 15, 2024
1 parent eaaf579 commit 32c3267
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 @@ -20,7 +20,7 @@ if (WIN32)
endif (WIN32)

if(APPLE)
set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS} -undefined dynamic_lookup")
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -undefined dynamic_lookup")
endif(APPLE)

include(GNUInstallDirs)
Expand Down

0 comments on commit 32c3267

Please sign in to comment.