*/}}
Explorar o código

add missing gl libs to config

YimingWu hai 1 ano
pai
achega
72ffb71f86
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      lagui-config.cmake

+ 2 - 0
lagui-config.cmake

@@ -41,6 +41,7 @@ endif()
 
 if (CMAKE_SYSTEM_NAME MATCHES "Linux")
     set(LAGUI_SHARED_LIBS
+        ${OPENGL_LIBRARY}
         ${X11_LIBRARIES}
         ${X11_X11_LIB}
         ${GLEW_LIBRARIES}
@@ -56,6 +57,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux")
         CACHE INTERNAL "LaGUI shared libs"
     )
     set(LAGUI_INCLUDE_DIRS_ALL
+        ${OPENGL_LIBRARY}
         ${CMAKE_SOURCE_DIR}
         ${X11_INCLUDE_DIR}
         ${GLEW_INCLUDE_PATH}