summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2010-03-17 23:04:01 +0100
committerPino Toscano <pino@kde.org>2010-03-17 23:04:01 +0100
commitab1a37666704d6b15c19b694ee191327847c23da (patch)
tree12f9c6845b53aef11d437e196d7e477ccdb1be90 /cmake
parent7f07a7dcea031f99a9a6d7c424184a2e69ee0062 (diff)
[CMake] proper way of looking for pkg-config
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindGTK.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindGTK.cmake b/cmake/modules/FindGTK.cmake
index c2266f76..6b398768 100644
--- a/cmake/modules/FindGTK.cmake
+++ b/cmake/modules/FindGTK.cmake
@@ -21,7 +21,7 @@
include(FindPackageHandleStandardArgs)
if (NOT WIN32)
- include(FindPkgConfig)
+ find_package(PkgConfig REQUIRED)
pkg_check_modules(GLIB2 "glib-2.0>=${GLIB_REQUIRED}" "gobject-2.0>=${GLIB_REQUIRED}")
pkg_check_modules(GDK2 "gdk-2.0")