Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cmake 2.8.7 fails on master

I faced on build error on Ubuntu 12.04. on cmake stage.

The error says CMake Error at CMakeLists.txt:608 (find_package): find_package called with invalid argument "CONFIG"

I'm on master and my cmake is version 2.8.7

I searched on internet and it seems that there are similar situation happening.

  • https://bugs.webkit.org/show_bug.cgi?id=124555
  • https://github.com/code-iai/iai_kinect2/issues/38
  • https://bugs.freedesktop.org/show_bug.cgi?id=94620

The reason seems clear. This CONFIG keywords are supported from 2.8.8, which is later than the version I use. The package CMake is looking is for OpenCV_HAL, which I don't use.

Am I supposed to upgrade my cmake or is this a bug ?