Fix bundled deps option not being propagated to library.

Issue #1641.
This commit is contained in:
Roger A. Light 2020-03-27 21:44:19 +00:00
parent a16d7e0661
commit 4ab0f4bd39
2 changed files with 1 additions and 1 deletions

View File

@ -22,6 +22,7 @@ endif (WIN32)
include(GNUInstallDirs) include(GNUInstallDirs)
option(WITH_BUNDLED_DEPS "Build with bundled dependencies?" ON)
option(WITH_TLS option(WITH_TLS
"Include SSL/TLS support?" ON) "Include SSL/TLS support?" ON)
option(WITH_TLS_PSK option(WITH_TLS_PSK

View File

@ -64,7 +64,6 @@ set (MOSQ_SRCS
../lib/will_mosq.c ../lib/will_mosq.h) ../lib/will_mosq.c ../lib/will_mosq.h)
option(WITH_BUNDLED_DEPS "Build with bundled dependencies?" ON)
if (WITH_BUNDLED_DEPS) if (WITH_BUNDLED_DEPS)
include_directories(${mosquitto_SOURCE_DIR} ${mosquitto_SOURCE_DIR}/src/deps) include_directories(${mosquitto_SOURCE_DIR} ${mosquitto_SOURCE_DIR}/src/deps)
endif (WITH_BUNDLED_DEPS) endif (WITH_BUNDLED_DEPS)