On Mac, we don't want to run /sbin/ldconfig as it doesn't exist
Signed-off-by: Ian Johnson <ijohnson@wolfram.com>
This commit is contained in:
parent
3163cf2d70
commit
87112a7e21
@ -90,6 +90,7 @@ set_target_properties(libmosquitto PROPERTIES
|
||||
install(TARGETS libmosquitto RUNTIME DESTINATION ${BINDIR} LIBRARY DESTINATION ${LIBDIR})
|
||||
install(FILES mosquitto.h DESTINATION ${INCLUDEDIR})
|
||||
|
||||
if (UNIX)
|
||||
if (UNIX AND NOT APPLE)
|
||||
install(CODE "EXEC_PROGRAM(/sbin/ldconfig)")
|
||||
endif (UNIX)
|
||||
endif (UNIX AND NOT APPLE)
|
||||
|
||||
|
@ -13,6 +13,7 @@ set_target_properties(mosquittopp PROPERTIES
|
||||
install(TARGETS mosquittopp RUNTIME DESTINATION ${BINDIR} LIBRARY DESTINATION ${LIBDIR})
|
||||
install(FILES mosquittopp.h DESTINATION ${INCLUDEDIR})
|
||||
|
||||
if (UNIX)
|
||||
if (UNIX AND NOT APPLE)
|
||||
install(CODE "EXEC_PROGRAM(/sbin/ldconfig)")
|
||||
endif (UNIX)
|
||||
endif (UNIX AND NOT APPLE)
|
||||
|
||||
|
@ -154,7 +154,8 @@ if (${WITH_TLS} STREQUAL ON)
|
||||
install(TARGETS mosquitto_passwd RUNTIME DESTINATION ${BINDIR} LIBRARY DESTINATION ${LIBDIR})
|
||||
endif (${WITH_TLS} STREQUAL ON)
|
||||
|
||||
if (UNIX)
|
||||
if (UNIX AND NOT APPLE)
|
||||
install(CODE "EXEC_PROGRAM(/sbin/ldconfig)")
|
||||
endif (UNIX)
|
||||
endif (UNIX AND NOT APPLE)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user