diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 30d5c0e4..a47b709f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -313,7 +313,7 @@ if (BuildMVMP) message(FATAL_ERROR "OpenGL dev files not found!") endif() set(MVMPIncludeDirs ${MVMPIncludeDirs} ${OPENGL_INCLUDE_DIR}) - set(MVMPLibraries ${MVMPLibraries} ${OPENGL_LIBRARIES}) + set(MVMPLibraries ${MVMPLibraries} ${OPENGL_gl_LIBRARY}) # Libraries if(WIN32)