diff options
author | Boroondas Gupte <hg@boroon.dasgupta.ch> | 2011-01-17 18:52:24 +0100 |
---|---|---|
committer | Boroondas Gupte <hg@boroon.dasgupta.ch> | 2011-01-17 18:52:24 +0100 |
commit | eb9f19dabdbe80dd047069edc8e1d04e906e7529 (patch) | |
tree | fb2a40dfabcd11ddf3fe00b9ce151884257ba099 /indra | |
parent | d0a25a41848142e469f5d64f4e4cef3852d3b2ab (diff) |
VWR-24520: Don't use pkg_check_modules( ... QUIET ) on CMake < 2.8.2
CMake before 2.8.2 doesn't support QUIET for pkg_check_modules(), yet.
Credit goes to Aleric, 'cause he told me what to change.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/cmake/FindLLQtWebkit.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/cmake/FindLLQtWebkit.cmake b/indra/cmake/FindLLQtWebkit.cmake index c747ec32a2..4bf5f5cb73 100644 --- a/indra/cmake/FindLLQtWebkit.cmake +++ b/indra/cmake/FindLLQtWebkit.cmake @@ -22,9 +22,9 @@ if (PKG_CONFIG_FOUND) else (LLQtWebkit_FIND_REQUIRED AND LLQtWebkit_FIND_VERSION) set(_PACKAGE_ARGS libllqtwebkit) endif (LLQtWebkit_FIND_REQUIRED AND LLQtWebkit_FIND_VERSION) - if (NOT "${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_LESS "2.8") + if (NOT "${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_LESS "2.8.2") # As virtually nobody will have a pkg-config file for this, do this check always quiet. - # Unfortunately cmake 2.8 or higher is required for pkg_check_modules to have a 'QUIET'. + # Unfortunately cmake 2.8.2 or higher is required for pkg_check_modules to have a 'QUIET'. set(_PACKAGE_ARGS ${_PACKAGE_ARGS} QUIET) endif () pkg_check_modules(LLQTWEBKIT ${_PACKAGE_ARGS}) |