diff options
author | nega <1098-nega@users.noreply.gitlab.kitware.com> | 2022-03-30 18:05:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-03-30 19:59:31 (GMT) |
commit | b2a7f73b556ae94c289cd5c52736e02eb70b1844 (patch) | |
tree | a1d33862855fb1ac5281cecec64fabb2d78d60e3 /Modules/FindGLUT.cmake | |
parent | a7b325e203a45f3c8d4a64fd3338079e0a14e250 (diff) | |
download | CMake-b2a7f73b556ae94c289cd5c52736e02eb70b1844.zip CMake-b2a7f73b556ae94c289cd5c52736e02eb70b1844.tar.gz CMake-b2a7f73b556ae94c289cd5c52736e02eb70b1844.tar.bz2 |
FindGLUT: Quiet pkg-config errors
Issue: #23314
Diffstat (limited to 'Modules/FindGLUT.cmake')
-rw-r--r-- | Modules/FindGLUT.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindGLUT.cmake b/Modules/FindGLUT.cmake index fe274de..7a16048 100644 --- a/Modules/FindGLUT.cmake +++ b/Modules/FindGLUT.cmake @@ -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. |