A recent version (1.45.0) of Conan is required! Please update Conan by running
pip install --upgrade conan or by downloading the Windows installer.
The Conan package manager helps to install all required libraries in a convenient way on every platform. See Setup pre-requisites for installation instructions. If the Conan executable is found Conan is used for third-party library handling. Set the CMake option
OGS_USE_CONAN=OFF to disable Conan.
Per default when Conan is enabled it will try to fetch prebuilt binaries from the OGS Conan repository. With the CMake option
OGS_CONAN_BUILD you define what gets build locally. This option can be set to:
missing- Default, only builds packages which are not available as a prebuilt binary for the current configuration
all- Builds all packages locally
never- Builds no package locally
[a list of libraries to build], e.g.
"petsc;tfel". For names see
ConanSetup.cmake. Make sure to set this back to ’never’ after the libraries have been built. Otherwise it would rebuild the libraries on the next CMake run.
Conan creates a runtime environment automatically. When activated this sets environment variables such as
LD_LIBRARY_PATH to point to the used Conan packages. Can be activated in your build directory after CMake ran:
source activate_run.sh ... source deactivate_run.sh