--- extern/mosquitto/CMakeLists.txt.orig 2020-03-19 15:45:18 UTC +++ extern/mosquitto/CMakeLists.txt @@ -5,6 +5,7 @@ # line utility including the "-i" option. set(CMAKE_LEGACY_CYGWIN_WIN32 0) +set(WITH_BUNDLED_DEPS ON) project(mosquitto) @@ -77,7 +78,7 @@ else (WITH_THREADING) set (PTHREAD_INCLUDE_DIR "") endif (WITH_THREADING) -option(DOCUMENTATION "Build documentation?" ON) +option(DOCUMENTATION "Build documentation?" OFF) option(WITH_DLT "Include DLT support?" OFF) message(STATUS "WITH_DLT = ${WITH_DLT}") @@ -111,9 +112,9 @@ install(FILES mosquitto.conf aclfile.example pskfile.e # ======================================== configure_file(libmosquitto.pc.in libmosquitto.pc @ONLY) -install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libmosquitto.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") +#install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libmosquitto.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") configure_file(libmosquittopp.pc.in libmosquittopp.pc @ONLY) -install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libmosquittopp.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") +#install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libmosquittopp.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") # ======================================== # Testing