[CMake] find module configuration not found

2015-11-03 Thread Owen Alanzo Hogarth
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

Re: [CMake] find module configuration not found

2015-11-03 Thread Petr Kmoch
Hi Owen, the find module which comes with CMake is called FindOpenGL, and is supposed to be used as: find_package(OpenGL ...) Note the case. From the error messages, it seems you're calling find_package(OPENGL). This could work on a case-insensitive system (which I believe Mac OS X uses by

Re: [CMake] find module configuration not found

2015-11-03 Thread Owen Alanzo Hogarth
That was definitely the problem. I had the wrong case This is something. One more question. Now I am getting a error: loop initial declarations are only allowed in C99 it's great that the compiler is watching out for me but I do want to stick to the C99 standard. All my code is formatted