Skip to content
Snippets Groups Projects
Commit eb9f19da authored by Boroondas Gupte's avatar Boroondas Gupte
Browse files

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.
parent d0a25a41
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,7 @@ Aleric Inglewood
VWR-14426
VWR-24247
VWR-24252
VWR-24520
SNOW-84
SNOW-477
SNOW-744
......
......@@ -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})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment