Skip to content

Commit

Permalink
fix EGL library import
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-rauch committed Sep 27, 2018
1 parent e6ef1ce commit 953fd9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ else()
# TODO: use "target_link_libraries(${LIBRARY_NAME} PRIVATE OpenGL::OpenGL OpenGL::EGL)" for CMake > 3.10
find_package(OpenGL REQUIRED COMPONENTS EGL)
list(APPEND USER_INC ${OPENGL_INCLUDE_DIR} )
list(APPEND LINK_LIBS ${OPENGL_LIBRARIES} )
list(APPEND LINK_LIBS ${OPENGL_egl_LIBRARY} )
endif()

if(NOT wayland-client_FOUND AND NOT X11_FOUND)
Expand Down

0 comments on commit 953fd9c

Please sign in to comment.