diff options
author | Brad King <brad.king@kitware.com> | 2018-11-08 12:31:14 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-11-08 12:31:30 (GMT) |
commit | a4add4eca2a19b52c44b6cbf074f99788e63d04e (patch) | |
tree | 66813717dbcb776e149ff57fa8ab58d00e800045 /Modules | |
parent | a848abe24cd9cf05b9ffc9141d3f4a3ea633c056 (diff) | |
parent | f5c46dd84ec48cfd1bfe32ed0093a21321e89845 (diff) | |
download | CMake-a4add4eca2a19b52c44b6cbf074f99788e63d04e.zip CMake-a4add4eca2a19b52c44b6cbf074f99788e63d04e.tar.gz CMake-a4add4eca2a19b52c44b6cbf074f99788e63d04e.tar.bz2 |
Merge topic 'pkgconfig-mark-advanced'
f5c46dd84e PkgConfig: Be less verbose by mark(ing)_as_advanced the find_library result
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Rolf Eike Beer <eike@sf-mail.de>
Merge-request: !2576
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindPkgConfig.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake index a45aef2..e192426 100644 --- a/Modules/FindPkgConfig.cmake +++ b/Modules/FindPkgConfig.cmake @@ -231,6 +231,7 @@ function(_pkg_find_libs _prefix _no_cmake_path _no_cmake_environment_path) find_library(pkgcfg_lib_${_prefix}_${_pkg_search} NAMES ${_pkg_search} ${_find_opts}) + mark_as_advanced(pkgcfg_lib_${_prefix}_${_pkg_search}) list(APPEND _libs "${pkgcfg_lib_${_prefix}_${_pkg_search}}") endforeach() |