mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-08 16:52:13 +08:00
Fix build errors on Darwin (Apple) ARM64 and Intel closes #2858
Signed-off-by: Christoph Krey <c@ckrey.de>
This commit is contained in:
parent
eaaf579029
commit
32c32678b6
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user