mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-08-20 21:41:40 +08:00
Merge pull request #2768 from cicorias/cicorias-fix-jail-plugin
fixes build fail on darwin arm64
This commit is contained in:
@@ -5,10 +5,6 @@ add_library(${PLUGIN_NAME} MODULE
|
||||
)
|
||||
|
||||
target_include_directories(${PLUGIN_NAME} PRIVATE
|
||||
"${OPENSSL_INCLUDE_DIR}"
|
||||
"${STDBOOL_H_PATH}"
|
||||
"${STDINT_H_PATH}"
|
||||
"${mosquitto_SOURCE_DIR}"
|
||||
"${mosquitto_SOURCE_DIR}/include"
|
||||
)
|
||||
|
||||
@@ -18,9 +14,8 @@ set_target_properties(${PLUGIN_NAME} PROPERTIES
|
||||
PREFIX ""
|
||||
POSITION_INDEPENDENT_CODE 1
|
||||
)
|
||||
if(WIN32)
|
||||
target_link_libraries(${PLUGIN_NAME} mosquitto)
|
||||
endif()
|
||||
|
||||
target_link_libraries(${PLUGIN_NAME} PRIVATE mosquitto)
|
||||
|
||||
# Don't install, these are example plugins only.
|
||||
#install(TARGETS ${PLUGIN_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")
|
||||
|
||||
Reference in New Issue
Block a user