I'm creating a conan package for OpenCV but am at a loss on what to put in package_info
. Building OpenCV places .lib
and .dll
files in the paths x64\vc15\lib
and x64\vc15\bin
. This means that once I install the package and try to link I get linker errors as Visual C++ cannot find the files.
What is the correct way of making these files available to Visual Studio? Should I add code to the package
method to move the bin and lib directories out of x64 and into package_folder
or should I add code to package_info
to indicate the path to those directories via self.cpp_info.libdirs
?