diff options
author | Laurent Montel <montel@kde.org> | 2008-11-11 11:52:11 +0000 |
---|---|---|
committer | Laurent Montel <montel@kde.org> | 2008-11-11 11:52:11 +0000 |
commit | 4d7f14b63edd4e7663eb81f3ff8f564799932eb1 (patch) | |
tree | 2c8db7eb9f7cd18126e678cee117c9349d779c5d /modules | |
parent | b6f9515fff4f5e47c8514197474294c7168c3ab7 (diff) | |
download | extra-cmake-modules-4d7f14b63edd4e7663eb81f3ff8f564799932eb1.tar.gz extra-cmake-modules-4d7f14b63edd4e7663eb81f3ff8f564799932eb1.tar.bz2 |
Fix this package too
svn path=/trunk/KDE/kdelibs/; revision=882745
Diffstat (limited to 'modules')
-rw-r--r-- | modules/FindLCMS.cmake | 6 |
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 |