opengl-tutorials/ogl

Adding ogl to project using cmake.

Opened this issue · 0 comments

HI,
I found that when I added ogl to my project I had to make a minor change to cmake. I thought I would share it so hopefully the source can be updated.
in CMakeLists,txt line 25:

list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/external/rpavlik-cmake-modules-fe2273")

to

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/external/rpavlik-cmake-modules-fe2273")