mirror of
https://github.com/aap/librw.git
synced 2026-09-24 11:34:47 +01:00
Add fatal error message
Co-authored-by: Anonymous Maarten <[email protected]>
This commit is contained in:
co-authored by
Anonymous Maarten
parent
cec0cf78a4
commit
0f5d7febb3
@@ -11,7 +11,7 @@ if(LIBRW_PLATFORM_GL3)
|
||||
set(OpenGL_GL_PREFERENCE GLVND)
|
||||
find_package(OpenGL)
|
||||
if(NOT TARGET OpenGL::OpenGL AND NOT TARGET OpenGL::EGL AND NOT TARGET OpenGL::GL)
|
||||
message(FATAL_ERROR )
|
||||
message(FATAL_ERROR "find_package(OpenGL) failed: no target was created")
|
||||
endif()
|
||||
|
||||
if(LIBRW_GL3_GFXLIB STREQUAL "GLFW")
|
||||
|
||||
Reference in New Issue
Block a user