In 4.5.5 ./build/unix-install/OpenCVConfig.cmake does not have LIB_PATH neither does ./build/OpenCVConfig.cmake . If yours contains it, then it’s definetely my problem and I hope distributing the code with above CMAKE script will be OK. Thank you for your replies.