1
0
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:
Christoph Krey 2024-10-14 12:37:41 +02:00 committed by Roger Light
parent eaaf579029
commit 32c32678b6

View File

@ -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)