瀏覽代碼

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

Miku AuahDark 4 年之前
父節點
當前提交
67ea81f739
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      CMakeLists.txt

+ 0 - 3
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}