mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06: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