From 67ea81f739c31f2aefefb978b1d7cca8062422d8 Mon Sep 17 00:00:00 2001 From: Miku AuahDark Date: Thu, 3 Dec 2020 14:29:03 +0800 Subject: [PATCH] Don't look for (and link with) OpenGL for Megasource build --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c9d29ddc8..5dbbe8172 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,8 +65,6 @@ if(POLICY CMP0072) cmake_policy(SET CMP0072 NEW) endif() -find_package(OpenGL) - if(MEGA) # LOVE_MSVC_DLLS contains runtime DLLs that should be bundled with the love # 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_LIBRARIES - ${OPENGL_gl_LIBRARY} ${MEGA_FREETYPE} ${MEGA_LIBOGG} ${MEGA_LIBVORBISFILE}