diff options
author | Sylvain Joubert <joubert.sy@gmail.com> | 2018-11-07 10:07:32 (GMT) |
---|---|---|
committer | Sylvain Joubert <joubert.sy@gmail.com> | 2018-11-07 13:08:02 (GMT) |
commit | f5c46dd84ec48cfd1bfe32ed0093a21321e89845 (patch) | |
tree | 3e4940ca48389b27c5e9f3251d85193a1c08aefb /Modules/FindPkgConfig.cmake | |
parent | 48de9169d0624b323462c084b68cb1fdb693d91b (diff) | |
download | CMake-f5c46dd84ec48cfd1bfe32ed0093a21321e89845.zip CMake-f5c46dd84ec48cfd1bfe32ed0093a21321e89845.tar.gz CMake-f5c46dd84ec48cfd1bfe32ed0093a21321e89845.tar.bz2 |
PkgConfig: Be less verbose by mark(ing)_as_advanced the find_library result
Diffstat (limited to 'Modules/FindPkgConfig.cmake')
-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() |