From 105cf9c2884d5f7ce9cd3aac2d4388475c9b2e76 Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Wed, 16 Dec 2015 19:56:58 +0000 Subject: [PATCH] GLideNHQ subproject: Do not attempt to bring in OpenGL This commit leaves the task of finding OpenGL or OpenGL ES to the main project, GLideN64. Whatever it uses is also used by GLideNHQ. --- src/GLideNHQ/CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/GLideNHQ/CMakeLists.txt b/src/GLideNHQ/CMakeLists.txt index 059be45f..bb5c019c 100644 --- a/src/GLideNHQ/CMakeLists.txt +++ b/src/GLideNHQ/CMakeLists.txt @@ -57,14 +57,6 @@ if( CMAKE_BUILD_TYPE STREQUAL "Debug") ) endif( CMAKE_BUILD_TYPE STREQUAL "Debug") -find_package(OpenGL REQUIRED) -include_directories(${OpenGL_INCLUDE_DIRS}) -link_directories(${OpenGL_LIBRARY_DIRS}) -add_definitions(${OpenGL_DEFINITIONS}) -if(NOT OPENGL_FOUND) - message(ERROR " OPENGL not found!") -endif(NOT OPENGL_FOUND) - if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") add_definitions( -D__MSC__) endif()