[CMake] find module configuration not found

Owen Alanzo Hogarth gurenchan at gmail.com
Tue Nov 3 08:11:42 EST 2015


I just ran into some difficulties.

I migrated a development system to debian 8.

I had a project on mac os x that built w/ no problems now I am running my
cmake but I get this error:

CMake Error at CMakeLists.txt:4 (FIND_PACKAGE):
  By not providing "FindOPENGL.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OPENGL", but
  CMake did not find one.

  Could not find a package configuration file provided by "OPENGL" with any
  of the following names:

    OPENGLConfig.cmake
    opengl-config.cmake

  Add the installation prefix of "OPENGL" to CMAKE_PREFIX_PATH or set
  "OPENGL_DIR" to a directory containing one of the above files.  If
"OPENGL"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!

now it seems finding opengl was a deffault config file on mac os x but not
so on linux.

I have cmake 3.0.2-1 installed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20151103/3aab1a4f/attachment.html>


More information about the CMake mailing list