opencv.pc is not installed (Bug #1008)
Description
In current svn, building under Linux:
unix-install/opencv.pc is generated in the build directory, but not copied as part of "make install". The file is very important for people using pkg-config, the standard way of finding software packages on a linux system, e.g. g++ pkg-config --libs --cflags opencv
opencvtest.cpp -o opencvtest
The file is correct and works if copied manually to the destination ($CMAKE_INSTALL_PREFIX/share/opencv)
You should also reconsider the location. Standard location for pkg-config files should be:
$CMAKE_INSTALL_PREFIX/share/pkgconfig/
Associated revisions
Merge pull request #1008 from ivan-korolev:fix_sift_bug_2892
History
Updated by Alexander Shishkov over 13 years ago
Now opencv.pc is installed to $CMAKE_INSTALL_PREFIX/lib/pkgconfig/ (see main CMakeLists.txt, rows 1273-1275).
- Status changed from Open to Done
- (deleted custom field) set to wontfix