We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb4fb07 commit 97718c3Copy full SHA for 97718c3
CMakeLists.txt
@@ -470,9 +470,11 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
470
endif()
471
472
if(PLATFORM_LINUX)
473
- find_library(OPENGL_LIBRARY GL)
474
- if (NOT OPENGL_LIBRARY)
475
- message(FATAL_ERROR "Failed to find OpenGL library")
+ if(NOT DILIGENT_NO_OPENGL)
+ find_library(OPENGL_LIBRARY GL)
+ if (NOT OPENGL_LIBRARY)
476
+ message(FATAL_ERROR "Failed to find OpenGL library")
477
+ endif()
478
479
elseif(PLATFORM_MACOS)
480
find_library(APP_KIT AppKit)
0 commit comments