Closed xahon closed 1 month ago
Hi @xahon
We would need to have a look at cinder
CMakeLists.txt.
Using the cmake
Conan generator won't automagically inject the dependency so find_package
will find it. You have several alternatives:
include(..../conanbuildinfo.cmake)
and use the CONAN_PKG::PulseAudio
target instead of the find_package: https://docs.conan.io/en/latest/integrations/build_system/cmake/cmake_generator.html#targets-approachcmake_find_package
or cmake_find_package_multi
generators. They will generate some .cmake scripts in your local folder, then add this path to CMAKE_MODULE_PATH
and CMAKE_PREFIX_PATH
so find_package()
find and use these scripts.You are also using and old recipe, not a modern one. The maintained ones are those in ConanCenter without user and channel: https://conan.io/center/pulseaudio (so use it with ``self.requires("pulseaudio/14.0")
Closing as inactive and very outdated, using the legacy Conan 1.X integrations. Please check latest Conan 2.X integrations and file any new tickets if necessary, thanks for the feedback.
Environment Details (include every applicable attribute)
Steps to reproduce (Include if Applicable)
I'm trying to create a package for a third-party library that uses PulseAudio as a dependency. I've added that dependency into
def requirements(self)
from bincrafters repo. It fails to configure cmake with that outputThe recipe