cmake cmake_dependent_option examples

Signatures

cmake_dependent_option(<option> "<help_text>" <value> <depends> <force>)

Examples

tamasmeszaros/libnest2d cmake_modules/RequirePackage.cmake :14

cmake_dependent_option(RP_FORCE_DOWNLOADING "Force downloading packages even if found." OFF "RP_ENABLE_DOWNLOADING" OFF)

AtomicGameEngine/AtomicGameEngine Build/CMake/Toolchains/Android.cmake :281

cmake_dependent_option (ANDROID_FORCE_ARM_BUILD "Use 32-bit ARM instructions instead of Thumb" FALSE "ANDROID_ARCH_NAME STREQUAL arm" FALSE)

u3d-community/U3D cmake/Modules/UrhoCommon.cmake :197

cmake_dependent_option (IOS "Setup build for iOS platform" FALSE "XCODE" FALSE)

novelrt/NovelRT Samples/CMakeLists.txt :3

cmake_dependent_option(NOVELRT_BUILD_SAMPLES_EXPERIMENTAL "Build NovelRT experimental samples" ON "NOVELRT_BUILD_SAMPLES" OFF)

urho3d/urho3d cmake/Modules/UrhoCommon.cmake :130

cmake_dependent_option (IOS "Setup build for iOS platform" FALSE "XCODE" FALSE)

f3d-app/f3d CMakeLists.txt :65

cmake_dependent_option(F3D_USE_EXTERNAL_DMON "Use external dmon dependency" OFF "F3D_MODULE_DMON" OFF)

prusa3d/PrusaSlicer CMakeLists.txt :48

CMAKE_DEPENDENT_OPTION(SLIC3R_OPENGL_ES "Compile PrusaSlicer targeting OpenGL ES" OFF "SLIC3R_GUI" OFF)

godlikepanos/anki-3d-engine ThirdParty/Jolt/Build/CMakeLists.txt :111

cmake_dependent_option(USE_STATIC_MSVC_RUNTIME_LIBRARY "Use the static MSVC runtime library" ON "MSVC;NOT WINDOWS_STORE" OFF)

prusa3d/Prusa-Firmware lib/Catch2/CMakeLists.txt :16

cmake_dependent_option(CATCH_BUILD_TESTING "Build the SelfTest project" ON "CATCH_DEVELOPMENT_BUILD" OFF)

bambulab/BambuStudio CMakeLists.txt :43

CMAKE_DEPENDENT_OPTION(SLIC3R_DESKTOP_INTEGRATION "Allow perfoming desktop integration during runtime" 1 "NOT SLIC3R_FHS" 0)

SoftFever/OrcaSlicer CMakeLists.txt :103

CMAKE_DEPENDENT_OPTION(SLIC3R_DESKTOP_INTEGRATION "Allow perfoming desktop integration during runtime" 1 "NOT SLIC3R_FHS" 0)

cadaver/turso3d ThirdParty/SDL/CMakeLists.txt :227

cmake_dependent_option(SDL_${_uname} "Enable the ${_name} subsystem" "${SDL_${_uname}_DEFAULT}" "${_ds_DEPS}" OFF)

Hork-Engine/Hork-Source ThirdParty/glslang/CMakeLists.txt :105

CMAKE_DEPENDENT_OPTION(ENABLE_EMSCRIPTEN_SINGLE_FILE
    "If using Emscripten, enables SINGLE_FILE build"
    OFF "ENABLE_GLSLANG_JS AND EMSCRIPTEN"
    OFF)

STORM-IRIT/Radium-Engine CMakeLists.txt :38

cmake_dependent_option(
    RADIUM_ENABLE_GL_TESTING
    "Enable testing of OpenGL functionalities. Option only available if RADIUM_ENABLE_TESTING is ON."
    OFF
    "RADIUM_ENABLE_TESTING"
    OFF
)

RavEngine/RavEngine deps/freetype/CMakeLists.txt :192

cmake_dependent_option(FT_REQUIRE_ZLIB
  "Require system zlib instead of internal zlib library." OFF
  "NOT FT_DISABLE_ZLIB" OFF)

keith2018/SoftGLRender third_party/glslang/CMakeLists.txt :72

CMAKE_DEPENDENT_OPTION(ENABLE_GLSLANG_WEBMIN
    "Reduces glslang to minimum needed for web use"
    OFF "ENABLE_GLSLANG_JS"
    OFF)

kokkos/kokkos cmake/kokkos_functions.cmake :94

cmake_dependent_option(${CAMEL_NAME} ${DOCSTRING} ${DEFAULT} "${DEPENDENCY}" ${FORCE})

alpaka-group/alpaka CMakeLists.txt :51

cmake_dependent_option(alpaka_CHECK_HEADERS "Check all alpaka headers as part of the tests whether they can be compiled standalone." OFF BUILD_TESTING OFF)

LLNL/CHAI CMakeLists.txt :63

cmake_dependent_option( CHAI_ENABLE_CUDA "Build CHAI with CUDA support" On
                        "ENABLE_CUDA" Off )

LLNL/zfp CMakeLists.txt :99

cmake_dependent_option(BUILD_SHARED_LIBS
  "Whether or not to build shared libraries" ON
  "SHARED_LIBS_SUPPORTED" OFF)

ANTsX/ANTs SuperBuild.cmake :82

CMAKE_DEPENDENT_OPTION(
  USE_SYSTEM_Uncrustify "Use system Uncrustify program" OFF
  "BUILD_STYLE_UTILS" OFF
  )

BLAST-WarpX/warpx cmake/dependencies/PICSAR.cmake :122

cmake_dependent_option(WarpX_QED_TABLE_GEN "generate QED lookup tables (requires boost)"
        ON "WarpX_QED" OFF)

ThePhD/sol2 CMakeLists.txt :58

CMAKE_DEPENDENT_OPTION(SOL2_TESTS_SINGLE "Enable build of tests using the premade single headers" ON
	"SOL2_SINGLE;SOL2_TESTS" OFF)

stack-of-tasks/pinocchio CMakeLists.txt :142

cmake_dependent_option(
  BUILD_PYTHON_BINDINGS_WITH_BOOST_MPFR_SUPPORT
  "Build the Python interface with Boost.Multiprecision MPFR support" OFF BUILD_PYTHON_INTERFACE
  OFF)

Kitware/kwiver CMakeLists.txt :152

CMAKE_DEPENDENT_OPTION(KWIVER_ENABLE_PROCESSES
  "Should the KWIVER Sprokit Processes Be Built?" OFF
  "KWIVER_ENABLE_ARROWS AND KWIVER_ENABLE_SPROKIT" OFF )

wpilibsuite/allwpilib CMakeLists.txt :70

cmake_dependent_option(
    DOCS_WARNINGS_AS_ERRORS
    "Make docs warnings into errors"
    OFF
    WITH_DOCS
    OFF
)

amule-project/amule cmake/CmDaB.cmake :34

cmake_dependent_option (DOWNLOAD_AND_BUILD_DEPS "Get all missing stuff" OFF ${Git_FOUND} OFF)

0xd34df00d/leechcraft src/plugins/lmp/CMakeLists.txt :10

cmake_dependent_option (ENABLE_LMP_MPRIS "Enable MPRIS support for LMP" ON "NOT WIN32" OFF)

facebook/rocksdb CMakeLists.txt :1189

CMAKE_DEPENDENT_OPTION(WITH_TESTS "build with tests" ON
  "CMAKE_BUILD_TYPE STREQUAL Debug" OFF)

RenderKit/ospray apps/CMakeLists.txt :4

cmake_dependent_option(
  OSPRAY_APPS_ENABLE_GLM
  "Build ospray_cpp glm tests/tutorial"
  OFF
  "OSPRAY_ENABLE_APPS_TESTING OR OSPRAY_ENABLE_APPS_TUTORIALS"
  OFF
)

louis-langholtz/PlayRho CMakeLists.txt :82

cmake_dependent_option(PLAYRHO_BUILD_HELLOWORLD "Build PlayRho HelloWorld console application." OFF "PLAYRHO_BUILD_LIBRARY" OFF)

TheAssemblyArmada/Thyme CMakeLists.txt :121

cmake_dependent_option(USE_STDFS "Use C++ 17 filesystem for crossplatform file handling." ${DEFAULT_STDFS} "STANDALONE" OFF)

sambayless/monosat CMakeLists.txt :14

cmake_dependent_option(JAVA "Build the Java library" OFF "BUILD_DYNAMIC" OFF)

NVIDIA/DALI CMakeLists.txt :65

cmake_dependent_option(BUILD_TEST "Build googletest test suite" ON
                       "NOT BUILD_DALI_NODEPS" OFF)

Kitware/ParaView CMakeLists.txt :197

cmake_dependent_option(PARAVIEW_USE_KOKKOS "Support Kokkos backend accelerator" OFF
  "CMAKE_VERSION VERSION_GREATER_EQUAL 3.21 AND NOT PARAVIEW_USE_CUDA" OFF)

topology-tool-kit/ttk CMake/config.cmake :8

cmake_dependent_option(TTK_BUILD_PARAVIEW_PLUGINS "Build the TTK ParaView Plugins" ON "TTK_BUILD_VTK_WRAPPERS" OFF)

sandialabs/InterSpec external_libs/Minuit2/StandAlone.cmake :15

cmake_dependent_option(minuit2_inroot "The source directory is inside the ROOT source" ON "INROOT" OFF)

DIPlib/diplib dependencies/pybind11/CMakeLists.txt :130

cmake_dependent_option(
  USE_PYTHON_INCLUDE_DIR
  "Install pybind11 headers in Python include directory instead of default installation prefix"
  OFF "PYBIND11_INSTALL" OFF)

BRAINSia/BRAINSTools Common.cmake :110

cmake_dependent_option(${LOCAL_PROJECT_NAME}_USE_QT
      "Find and use Qt with VTK to build GUI Tools" OFF
      "${SUPERBUILD_TOPLEVEL_PROJECT}_REQUIRES_VTK" OFF)

seqan/seqan3 test/seqan3-test.cmake :51

cmake_dependent_option (SEQAN3_WITH_SEQAN2_CI "Build tests with SeqAn2." ON "DEFINED ENV{CI}" OFF)

NCAR/VAPOR CMakeLists.txt :107

cmake_dependent_option (DIST_APPIMAGE "Generate an AppImage for VAPOR's installation across multiple Linux platforms" OFF "DIST_INSTALLER" ON)

mne-tools/mne-cpp src/external/eigen-3.4.0/test/CMakeLists.txt :458

cmake_dependent_option(EIGEN_TEST_BUILD_DOCUMENTATION "Test building the doxygen documentation" OFF "EIGEN_BUILD_DOC" OFF)

NERSC/timemory cmake/Modules/Documentation.cmake :46

cmake_dependent_option(
        TIMEMORY_BUILD_DOCS_QUIET "Suppress standard output when making the docs" ON
        "BUILD_DOXYGEN_DOCS" OFF)

emsec/hal deps/pybind11/CMakeLists.txt :98

cmake_dependent_option(
  USE_PYTHON_INCLUDE_DIR
  "Install pybind11 headers in Python include directory instead of default installation prefix"
  OFF "PYBIND11_INSTALL" OFF)

ceph/ceph CMakeLists.txt :267

CMAKE_DEPENDENT_OPTION(WITH_LIBURING "Enable io_uring bluestore backend" ON
  "WITH_BLUESTORE;HAVE_LIBAIO" OFF)

catchorg/Catch2 CMakeLists.txt :19

cmake_dependent_option(CATCH_BUILD_TESTING "Build the SelfTest project" ON "CATCH_DEVELOPMENT_BUILD" OFF)

gnuradio/gnuradio cmake/Modules/GrComponent.cmake :61

cmake_dependent_option(${var} "enable ${name} support" ${ENABLE_DEFAULT}
                           "${comp_deps}" OFF)

opensim-org/opensim-core dependencies/CMakeLists.txt :216

CMAKE_DEPENDENT_OPTION(SUPERBUILD_ipopt "Automatically download, configure, build and install ipopt" ON
                        "OPENSIM_WITH_CASADI" OFF)

AcademySoftwareFoundation/openvdb CMakeLists.txt :85

cmake_dependent_option(OPENVDB_INSTALL_CMAKE_MODULES
  "Install the provided OpenVDB CMake modules when building the core library"
  ON "OPENVDB_BUILD_CORE" OFF)

apache/trafficserver lib/Catch2/CMakeLists.txt :19

cmake_dependent_option(CATCH_BUILD_TESTING "Build the SelfTest project" ON "CATCH_DEVELOPMENT_BUILD" OFF)

iree-org/iree CMakeLists.txt :435

cmake_dependent_option(IREE_TARGET_BACKEND_VMVX "Enables the 'vmvx' compiler target backend" ON ${IREE_BUILD_COMPILER} OFF)

vengi-voxel/vengi contrib/libs/sdl2/cmake/macros.cmake :21

cmake_dependent_option("${_NAME}" "${_DESC}" "${_DEFLT}" "${_DEPTEST}" "${_FAILDFLT}")

YosysHQ/nextpnr 3rdparty/pybind11/CMakeLists.txt :130

cmake_dependent_option(
  USE_PYTHON_INCLUDE_DIR
  "Install pybind11 headers in Python include directory instead of default installation prefix"
  OFF "PYBIND11_INSTALL" OFF)

brndnmtthws/conky cmake/ConkyBuildOptions.cmake :28

cmake_dependent_option(RUN_TESTS "Run tests once the build is complete" false
  "BUILD_TESTING" false)

root-project/root interpreter/llvm-project/clang/CMakeLists.txt :423

CMAKE_DEPENDENT_OPTION(CLANG_PLUGIN_SUPPORT
  "Build clang with plugin support" ON
  "HAVE_CLANG_PLUGIN_SUPPORT" OFF)

facebookincubator/velox CMakeLists.txt :97

cmake_dependent_option(
  VELOX_BUILD_STATIC
  "Build Velox as static libraries."
  ON
  "NOT VELOX_BUILD_SHARED"
  OFF
)

Slicer/Slicer CMakeLists.txt :299

CMAKE_DEPENDENT_OPTION(
  Slicer_BUILD_QTSCRIPTEDMODULES "Build Slicer Python Qt Modules" ON
  "Slicer_USE_PYTHONQT" OFF)

projectM-visualizer/projectm CMakeLists.txt :96

cmake_dependent_option(BUILD_SHARED_LIBS "Build and install libprojectM as a shared libraries. If OFF, builds as static libraries." ON "NOT ENABLE_EMSCRIPTEN" OFF)

google/filament third_party/abseil/CMakeLists.txt :112

cmake_dependent_option(ABSL_FIND_GOOGLETEST
  "If ON, Abseil will use find_package(GTest) rather than assuming that GoogleTest is already provided by the including project."
  ON
  "ABSL_USE_EXTERNAL_GOOGLETEST"
  OFF)

percona/percona-xtrabackup extra/abseil/abseil-cpp-20230802.1/CMakeLists.txt :132

cmake_dependent_option(ABSL_FIND_GOOGLETEST
  "If ON, Abseil will use find_package(GTest) rather than assuming that GoogleTest is already provided by the including project."
  ON
  "ABSL_USE_EXTERNAL_GOOGLETEST"
  OFF)

seladb/PcapPlusPlus CMakeLists.txt :137

cmake_dependent_option(
  PCAPPP_BUILD_EXAMPLES
  "Build Examples"
  ${PCAPPP_MAIN_PROJECT}
  "PCAPPP_BUILD_PCAPPP"
  OFF
)

NREL/EnergyPlus third_party/penumbra/CMakeLists.txt :27

cmake_dependent_option( ${PROJECT_NAME}_BUILD_TESTING "Build ${PROJECT_NAME} testing targets" ON "${PROJECT_NAME}_IS_TOP_LEVEL" OFF )

mysql/mysql-server extra/abseil/abseil-cpp-20230802.1/CMakeLists.txt :132

cmake_dependent_option(ABSL_FIND_GOOGLETEST
  "If ON, Abseil will use find_package(GTest) rather than assuming that GoogleTest is already provided by the including project."
  ON
  "ABSL_USE_EXTERNAL_GOOGLETEST"
  OFF)

Gargaj/Bonzomatic external/glfw/CMakeLists.txt :27

cmake_dependent_option(GLFW_USE_OSMESA "Use OSMesa for offscreen context creation" OFF
                       "UNIX" OFF)

apache/mxnet CMakeLists.txt :72

cmake_dependent_option(USE_NVML "Build with nvml support if found" ON "USE_CUDA" OFF)

robotology/yarp bindings/CMakeLists.txt :101

cmake_dependent_option(
    CREATE_${LANG} "Do you want to create the ${Lang} interface" OFF
    YARP_COMPILE_BINDINGS OFF
  )

mysql/mysql-router ext/protobuf/protobuf-3.0.0/cmake/CMakeLists.txt :27

cmake_dependent_option(protobuf_MSVC_STATIC_RUNTIME "Link static runtime libraries" ON
  "NOT protobuf_BUILD_SHARED_LIBS" OFF)

stephenberry/glaze cmake/variables.cmake :10

cmake_dependent_option(
    glaze_DEVELOPER_MODE "Enable developer mode" ON
    "PROJECT_IS_TOP_LEVEL" OFF
  )

LLNL/axom src/axom/mint/CMakeLists.txt :20

cmake_dependent_option( AXOM_MINT_USE_SIDRE "Enables Sidre support in Mint" ON
                       "AXOM_ENABLE_SIDRE" OFF)

infiniflow/infinity third_party/curl/CMakeLists.txt :189

cmake_dependent_option(ENABLE_THREADED_RESOLVER "Enable threaded DNS lookup"
  ON "NOT ENABLE_ARES"
  OFF)

mysql/mysql-connector-cpp cdk/extra/protobuf/protobuf-3.19.6/cmake/CMakeLists.txt :60

cmake_dependent_option(protobuf_MSVC_STATIC_RUNTIME "Link static runtime libraries" ON
  "NOT protobuf_BUILD_SHARED_LIBS" OFF)

AshamaneProject/AshamaneCore dep/cpr/opt/curl/CMakeLists.txt :86

CMAKE_DEPENDENT_OPTION(ENABLE_THREADED_RESOLVER "Set to ON to enable threaded DNS lookup"
        ON "NOT ENABLE_ARES"
        OFF)

Tradias/asio-grpc CMakeLists.txt :43

cmake_dependent_option(ASIO_GRPC_TEST_CALLBACK_API_CPP20 "Enable tests for the gRPC callback API that required C++20"
                       on "ASIO_GRPC_ENABLE_CPP20_TESTS_AND_EXAMPLES;ASIO_GRPC_TEST_CALLBACK_API" off)

OpenAssetIO/OpenAssetIO CMakeLists.txt :187

cmake_dependent_option(
    OPENASSETIO_ENABLE_PYTHON_TEST_VENV
    "Enable CTest fixture to create a Python environment during test runs"
    ON
    OPENASSETIO_ENABLE_TESTS
    OFF
)

NVIDIA/Fuser CMakeLists.txt :36

cmake_dependent_option(NVFUSER_DISTRIBUTED "" ON "USE_DISTRIBUTED" OFF)

FilmKilns/FilmKilns src/sdl2/cmake/macros.cmake :13

cmake_dependent_option(${_NAME} ${_DESC} ${_DEFLT} ${_DEPTEST} ${_FAILDFLT})

asset-group/5ghoul-5g-nr-attacks libs/glfw/CMakeLists.txt :35

cmake_dependent_option(GLFW_USE_OSMESA "Use OSMesa for offscreen context creation" OFF
                       "UNIX" OFF)

alibaba/AliSQL storage/tokudb/ft-index/cmake_modules/TokuSetupCTest.cmake :109

cmake_dependent_option(RUN_DRD_TESTS "Run some tests under drd." ON
    "${helgrind_drd_depend_conditions}" OFF)

KiCad/kicad-source-mirror CMakeLists.txt :139

cmake_dependent_option( KICAD_USE_BUNDLED_GLEW
    "Use the bundled version of GLEW - only available when KICAD_USE_EGL is set"
    ON "KICAD_USE_EGL"
    OFF )

kfrlib/kfr CMakeLists.txt :183

cmake_dependent_option(ENABLE_EXAMPLES "Enable KFR examples" ON "ENABLE_TESTS"
                       OFF)

aklomp/base64 CMakeLists.txt :34

cmake_dependent_option(BASE64_BUILD_CLI "Build the cli for encoding and decoding" ON "HAVE_GETOPT_H" OFF)

supertuxkart/stk-code CMakeLists.txt :18

CMAKE_DEPENDENT_OPTION(USE_SWITCH "Build targeting switch" OFF "NOT NINTENDO_SWITCH" ON)

qt/qtbase cmake/QtBuildOptionsHelpers.cmake :457

cmake_dependent_option(
        "QT_UNITY_BUILD_PROJECT_${project_name_lower}"
        "Enable unity builds for project ${PROJECT_NAME}"
        TRUE
        QT_UNITY_BUILD
        FALSE
    )

flux-framework/flux-sched external/catch2/CMakeLists.txt :17

cmake_dependent_option(CATCH_BUILD_TESTING "Build the SelfTest project" ON "CATCH_DEVELOPMENT_BUILD" OFF)

BobLChen/PathTracer external/glfw/CMakeLists.txt :31

cmake_dependent_option(GLFW_USE_OSMESA "Use OSMesa for offscreen context creation" OFF
                       "UNIX" OFF)

stlab/libraries CMakeLists.txt :57

cmake_dependent_option(stlab.coverage
  "Enable binary instrumentation to collect test coverage information in the DEBUG configuration"
  OFF PROJECT_IS_TOP_LEVEL OFF)

hyperblast/beefweb cmake/Utils.cmake :34

cmake_dependent_option(${OPT} "${DESC}" ${ENABLE_LOCAL_LIBS} "${COND}" OFF)

oscarlab/betrfs cmake_modules/TokuSetupCTest.cmake :111

cmake_dependent_option(RUN_DRD_TESTS "Run some tests under drd." ON
    "${helgrind_drd_depend_conditions}" OFF)

NauEngine/NauEnginePublic engine/3rdparty_libs/GameNetworkingSockets/src/external/abseil/CMakeLists.txt :126

cmake_dependent_option(ABSL_FIND_GOOGLETEST
  "If ON, Abseil will use find_package(GTest) rather than assuming that GoogleTest is already provided by the including project."
  ON
  "ABSL_USE_EXTERNAL_GOOGLETEST"
  OFF)

bytedance/terarkdb CMakeLists.txt :42

CMAKE_DEPENDENT_OPTION(WITH_TESTS "build with tests" ON "CMAKE_BUILD_TYPE STREQUAL Debug" OFF)

rbfx/rbfx CMake/Modules/UrhoOptions.cmake :164

cmake_dependent_option(${OPTION} "${DOCSTRING}" ${VALUE} "${${DEPENDS}}" ${VALUE_OFF})

diasurgical/DevilutionX CMakeLists.txt :35

cmake_dependent_option(PACKET_ENCRYPTION "Encrypt network packets" ON "NOT NONET" OFF)

InsightSoftwareConsortium/ITK CMakeLists.txt :394

cmake_dependent_option(
  ITK_LEGACY_REMOVE
  "Remove current legacy code completely."
  OFF
  "NOT ITK_WRAPPING"
  ON
)

ComputationalBiomechanicsLab/opensim-creator third_party/libosim/opensim-core/dependencies/CMakeLists.txt :220

CMAKE_DEPENDENT_OPTION(SUPERBUILD_ipopt "Automatically download, configure, build and install ipopt" ON
                        "OPENSIM_WITH_CASADI" OFF)

cutelyst/cutelyst CMakeLists.txt :57

cmake_dependent_option(BUILD_DOCS_QUIET "Tell doxygen to be quiet while building the documentation." OFF "BUILD_DOCS" OFF)

PacktPublishing/The-Modern-Vulkan-Cookbook source/chapter8/app/src/main/cpp/thirdparty/OpenXR-SDK/src/CMakeLists.txt :126

cmake_dependent_option(
    BUILD_WITH_SYSTEM_JSONCPP "Use system jsoncpp instead of vendored source" ON "JSONCPP_FOUND" OFF
)

logicalclocks/rondb extra/abseil/abseil-cpp-20230802.1/CMakeLists.txt :132

cmake_dependent_option(ABSL_FIND_GOOGLETEST
  "If ON, Abseil will use find_package(GTest) rather than assuming that GoogleTest is already provided by the including project."
  ON
  "ABSL_USE_EXTERNAL_GOOGLETEST"
  OFF)

jheruty/hscpp examples/imgui-demo/lib/glfw/CMakeLists.txt :27

cmake_dependent_option(GLFW_USE_OSMESA "Use OSMesa for offscreen context creation" OFF
                       "UNIX" OFF)

alanxz/SimpleAmqpClient CMakeLists.txt :51

cmake_dependent_option(
    Boost_Dynamic_Linking_ENABLED
    "Enable boost dynamic linking"
    ON
    "BUILD_SHARED_LIBS"
    OFF
    )

qbittorrent/qBittorrent cmake/Modules/FeatureOptionsSetup.cmake :12

CMAKE_DEPENDENT_OPTION("${_name}" "${_desc}" "${_default_opt}" "${_dependency}" "${_default_dep_not_sat}")