mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
@@ -94,9 +94,9 @@ function(_add_glut_target_simple)
|
||||
IMPORTED_LOCATION "${GLUT_glut_LIBRARY}")
|
||||
endfunction()
|
||||
|
||||
find_package(PkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
if(PKG_CONFIG_FOUND)
|
||||
pkg_check_modules(GLUT glut)
|
||||
pkg_check_modules(GLUT QUIET glut)
|
||||
if(GLUT_FOUND)
|
||||
# GLUT_INCLUDE_DIRS is now the official result variable, but
|
||||
# older versions of CMake only provided GLUT_INCLUDE_DIR.
|
||||
|
||||
Reference in New Issue
Block a user