Don't look for (and link with) OpenGL for Megasource build

This commit is contained in:
Miku AuahDark
2020-12-03 14:29:03 +08:00
parent 6301b690af
commit 67ea81f739
-3
View File
@@ -65,8 +65,6 @@ if(POLICY CMP0072)
cmake_policy(SET CMP0072 NEW) cmake_policy(SET CMP0072 NEW)
endif() endif()
find_package(OpenGL)
if(MEGA) if(MEGA)
# LOVE_MSVC_DLLS contains runtime DLLs that should be bundled with the love # LOVE_MSVC_DLLS contains runtime DLLs that should be bundled with the love
# binary (in e.g. the installer). Example: msvcp140.dll. # binary (in e.g. the installer). Example: msvcp140.dll.
@@ -88,7 +86,6 @@ if(MEGA)
set(LOVE_LINK_DIRS ${SDL_LINK_DIR}) set(LOVE_LINK_DIRS ${SDL_LINK_DIR})
set(LOVE_LINK_LIBRARIES set(LOVE_LINK_LIBRARIES
${OPENGL_gl_LIBRARY}
${MEGA_FREETYPE} ${MEGA_FREETYPE}
${MEGA_LIBOGG} ${MEGA_LIBOGG}
${MEGA_LIBVORBISFILE} ${MEGA_LIBVORBISFILE}