From e731b10cb4ac4026d5f140bdb56b3dcd7a9b9ba3 Mon Sep 17 00:00:00 2001 From: Liangliang Nan Date: Sun, 4 Feb 2024 14:46:46 +0100 Subject: [PATCH] message found OpenGL libraries --- 3rd_party/glew/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/3rd_party/glew/CMakeLists.txt b/3rd_party/glew/CMakeLists.txt index 63da7de..19d6bde 100755 --- a/3rd_party/glew/CMakeLists.txt +++ b/3rd_party/glew/CMakeLists.txt @@ -31,10 +31,12 @@ set(GLEW_VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.$ if(WIN32 OR MSVC OR APPLE) find_package(OpenGL COMPONENTS OpenGL REQUIRED) + message(STATUS "OpenGL library: ${OPENGL_gl_LIBRARY}") set(GLEW_LIBRARIES ${OPENGL_gl_LIBRARY}) else() # == if(UNIX AND NOT APPLE) set(OpenGL_GL_PREFERENCE GLVND) find_package(OpenGL COMPONENTS OpenGL GLX REQUIRED) + message(STATUS "OpenGL libraries: ${OPENGL_opengl_LIBRARY} ${OPENGL_glx_LIBRARY}") set(GLEW_LIBRARIES ${OPENGL_opengl_LIBRARY} ${OPENGL_glx_LIBRARY}) endif()