diff --git a/cmake/modules/cpp-httplib.cmake b/cmake/modules/cpp-httplib.cmake index 35f3a436..38f370f4 100644 --- a/cmake/modules/cpp-httplib.cmake +++ b/cmake/modules/cpp-httplib.cmake @@ -16,7 +16,7 @@ # cpp-httplib (https://github.com/yhirose/cpp-httplib) # -option(USE_BUNDLED_CPPHTTPLIB "Enable building of the bundled cpp-httplib" ON) +option(USE_BUNDLED_CPPHTTPLIB "Enable building of the bundled cpp-httplib" ${USE_BUNDLED_DEPS}) if(CPPHTTPLIB_INCLUDE) # we already have cpp-httplib diff --git a/cmake/modules/cxxopts.cmake b/cmake/modules/cxxopts.cmake index 4c662bd0..66c73103 100644 --- a/cmake/modules/cxxopts.cmake +++ b/cmake/modules/cxxopts.cmake @@ -16,7 +16,7 @@ # cxxopts (https://github.com/jarro2783/cxxopts) # -option(USE_BUNDLED_CXXOPTS "Enable building of the bundled cxxopts" ON) +option(USE_BUNDLED_CXXOPTS "Enable building of the bundled cxxopts" ${USE_BUNDLED_DEPS}) if(CXXOPTS_INCLUDE_DIR) # we already have cxxopts