aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/Modules/UHDConfig.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'host/cmake/Modules/UHDConfig.cmake.in')
-rw-r--r--host/cmake/Modules/UHDConfig.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/cmake/Modules/UHDConfig.cmake.in b/host/cmake/Modules/UHDConfig.cmake.in
index 299a8ef48..a45fbd3f7 100644
--- a/host/cmake/Modules/UHDConfig.cmake.in
+++ b/host/cmake/Modules/UHDConfig.cmake.in
@@ -39,7 +39,7 @@ if(UHD_DIR)
list(APPEND UHD_LIBDIR_HINTS ${UHD_DIR}/lib)
endif()
-include(FindPkgConfig)
+find_package(PkgConfig QUIET)
if(PKG_CONFIG_FOUND)
if(NOT ${CMAKE_VERSION} VERSION_LESS "2.8.0")
set(UHD_QUIET "QUIET")