aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2008-11-11 11:52:11 +0000
committerLaurent Montel <montel@kde.org>2008-11-11 11:52:11 +0000
commit4d7f14b63edd4e7663eb81f3ff8f564799932eb1 (patch)
tree2c8db7eb9f7cd18126e678cee117c9349d779c5d
parentb6f9515fff4f5e47c8514197474294c7168c3ab7 (diff)
downloadextra-cmake-modules-4d7f14b63edd4e7663eb81f3ff8f564799932eb1.tar.gz
extra-cmake-modules-4d7f14b63edd4e7663eb81f3ff8f564799932eb1.tar.bz2
Fix this package too
svn path=/trunk/KDE/kdelibs/; revision=882745
-rw-r--r--modules/FindLCMS.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/FindLCMS.cmake b/modules/FindLCMS.cmake
index 1abfd297..97ac7ef1 100644
--- a/modules/FindLCMS.cmake
+++ b/modules/FindLCMS.cmake
@@ -9,9 +9,9 @@
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
if(NOT WIN32)
-INCLUDE(FindPkgConfig)
-PKG_CHECK_MODULES(LCMS lcms)
-SET(LCMS_DEFINITIONS ${LCMS_CFLAGS})
+find_package(PkgConfig)
+pkg_check_modules(LCMS lcms)
+set(LCMS_DEFINITIONS ${LCMS_CFLAGS})
endif(NOT WIN32)
find_path(LCMS_INCLUDE_DIR lcms.h