cmake-conan
cmake-conan copied to clipboard
CMake wrapper for conan C and C++ package manager
Greetings :) For the migration of a C++ project from Conan 1.X to Conan 2.0, I was considering the latest version of Conan_cmake on develop2. Here is the issue that...
### What is your question? CMakeLists.txt: ''' conan_cmake_configure( REQUIRES zstd/1.5.0 zlib/1.2.11 doctest/2.4.6 pybind11/2.6.2 jsoncpp/1.9.4 nlohmann_json/3.10.2 eigen/3.3.9 # boost/1.71.0 cxxopts/2.2.1 # glew/2.1.0 # glfw/3.3.2 glm/0.9.9.8 # opencv/3.4.12 tinyply/2.3.2 qhullcpp/8.0.2@sxsong1207/stable # cgal/5.0.3...
Instead of using CMAKE_SOURCE_DIR for the automatic detection of the conanfile.txt or conanfile.py, the conan_install function also checks if a /conanfile.txt or /conanfile.py exists. If yes, it will use those...
I am using Ubuntu 20.04, Conan 1.60, and CMake 3.19.6. In my CMake project, I am attempting to configure Conan dependencies using conan.cmake. However, when I run CMake, I encounter...
Hi, I'm not certain if this is an issue or user error. Having migrated a number of our project to conan2/cmake-conan successfully I am trying to fully migrate the last...
At present, any action that triggers a CMake configure, such as modifying a CMake file or adding/deleting source files, prompts Conan to run an install check. How can I skip...
I've noticed that a compiler setup with `clang` (not `clang-cl`) is not auto-detected on windows any more. This bug was introduced in the v0.18.0, while on v0.17.0 it works correctly....
I am making the following find package call ```find_package(pugixml CONFIG REQUIRED)``` and since this PR I am seeing the following warning in the CMake output: ``` CMake Warning at x64/Debug/conan/build/Debug/generators/pugixmlTargets.cmake:25...
I am having an issue building a project that defines CMAKE_CONFIGURATION_TYPES. Specifically if we look at conan_provide_dependency package_name ``` macro(conan_provide_dependency package_name) get_property(CONAN_INSTALL_SUCCESS GLOBAL PROPERTY CONAN_INSTALL_SUCCESS) if(NOT CONAN_INSTALL_SUCCESS) find_program(CONAN_COMMAND "conan" REQUIRED)...
Hi, I'm having some issues with the OpenSSL package from the conan-center and am unsure whether this is a recipe issue or a cmake-conan issue. I am using the gcc...