CMakeLists.txt 534 B

1234567891011
  1. include_directories(${mosquitto_SOURCE_DIR} ${mosquitto_SOURCE_DIR}/include
  2. ${OPENSSL_INCLUDE_DIR} ${STDBOOL_H_PATH} ${STDINT_H_PATH})
  3. add_library(mosquitto_auth_by_ip MODULE mosquitto_auth_by_ip.c)
  4. set_target_properties(mosquitto_auth_by_ip PROPERTIES
  5. POSITION_INDEPENDENT_CODE 1
  6. )
  7. set_target_properties(mosquitto_auth_by_ip PROPERTIES PREFIX "")
  8. # Don't install, these are example plugins only.
  9. #install(TARGETS mosquitto_auth_by_ip RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")