--- a/cmake/OpenCVGenPkgconfig.cmake +++ b/cmake/OpenCVGenPkgconfig.cmake @@ -45,7 +45,7 @@ if(NOT DEFINED CMAKE_HELPER_SCRIPT) if(INSTALL_TO_MANGLED_PATHS) set(OPENCV_PC_FILE_NAME "opencv-${OPENCV_VERSION}.pc") else() - set(OPENCV_PC_FILE_NAME opencv.pc) + set(OPENCV_PC_FILE_NAME opencv3.pc) endif() # build the list of opencv libs and dependencies for all modules