Skip to content

Add conan CMake options

Afonso Mukai requested to merge 134_add_conan_cmake_options into master

Created by: matthew-d-jones

Closes #134 (closed)

Creates the following options for using conan:

  • By default conan is used to download and configure dependencies, this is done automatically by CMake. conan is required to be installed and in the path.
  • conan can be run manually to generate a conanbuildinfo.cmake file in the build directory, to use this specify the CMake parameter CONANBUILDINFO_ENABLE=true.
  • conan can be disabled by specifying the CMake parameter CONAN_DISABLE=true. CMake will try to find system installed libraries or paths can be specified manually.

These options are documented in the README.

Merge request reports