diff --git a/CMakeLists.txt b/CMakeLists.txt index f5b9f661..26b3e7a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,6 +22,7 @@ endif (WIN32) include(GNUInstallDirs) +option(WITH_BUNDLED_DEPS "Build with bundled dependencies?" ON) option(WITH_TLS "Include SSL/TLS support?" ON) option(WITH_TLS_PSK diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5774c1fa..ee34673b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -64,7 +64,6 @@ set (MOSQ_SRCS ../lib/will_mosq.c ../lib/will_mosq.h) -option(WITH_BUNDLED_DEPS "Build with bundled dependencies?" ON) if (WITH_BUNDLED_DEPS) include_directories(${mosquitto_SOURCE_DIR} ${mosquitto_SOURCE_DIR}/src/deps) endif (WITH_BUNDLED_DEPS)