conan-io / cmake-conan

CMake wrapper for conan C and C++ package manager
MIT License
823 stars 250 forks source link

error:conan-cmake #550

Open alLiucb opened 1 year ago

alLiucb commented 1 year ago

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
    openmesh/8.1
    openvolumemesh/2.1@sxsong1207/stable
    fmt/8.0.1
    spdlog/1.9.2
    GENERATORS cmake_find_package)

'''

but occurred error: ''' CMake Error at cmake/BuildExternalDeps.cmake:22 (conan_cmake_configure): Unknown CMake command "conan_cmake_configure". Call Stack (most recent call first): CMakeLists.txt:39 (include) '''

version: conan--1.6.0 cmake--3.19.6

I need help,I don't know what happened.

Have you read the CONTRIBUTING guide?

memsharded commented 1 year ago

Hi @AlienLcb

I am moving this ticket to the right repository, the cmake-conan one

memsharded commented 1 year ago

Some quick questions and requests: