fix(CMakeLists): add early check for libGLU

This commit is contained in:
six 2026-03-05 15:30:38 +01:00 committed by GitHub
parent 45e5286e55
commit 4a0e6ea98f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5223,6 +5223,7 @@ if(UNIX AND NOT APPLE)
find_package(OpenGL REQUIRED)
find_package(PkgConfig REQUIRED)
pkg_check_modules(GLFW3 REQUIRED glfw3)
pkg_check_modules(GLU REQUIRED glu)
target_include_directories(${PROJECT_NAME} PRIVATE
${GLFW3_INCLUDE_DIRS}