mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Merge pull request #820 from Nebuleon/glidenhq-gles2-fix
GLideNHQ subproject: Do not attempt to bring in OpenGL
This commit is contained in:
commit
1714dd50a2
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user