From 836e9db59bd75bf218e476c427d6e34f305a34d3 Mon Sep 17 00:00:00 2001 From: akl Date: Thu, 14 Feb 2013 10:09:58 +0000 Subject: [PATCH] Mandriva2010_32bit has 2.7.6 version of LibXml2 product. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b90351bf..d121cbe66 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,9 +102,9 @@ if(EXISTS ${LIBXML2_ROOT_DIR}) set(CMAKE_PROGRAM_PATH ${LIBXML2_ROOT_DIR}/bin) endif(EXISTS ${LIBXML2_ROOT_DIR}) find_package(LibXml2 REQUIRED) -if(${LIBXML2_VERSION_STRING} VERSION_LESS "2.7.8") - message(FATAL_ERROR "LIbXml2 required version is 2.7.8, version is ${LIBXML2_VERSION_STRING} , please defined LIBXML2_ROOT_DIR as environment or cmake variable") -endif(${LIBXML2_VERSION_STRING} VERSION_LESS "2.7.8") +if(${LIBXML2_VERSION_STRING} VERSION_LESS "2.7.6") + message(FATAL_ERROR "LIbXml2 required version is 2.7.6, version is ${LIBXML2_VERSION_STRING} , please defined LIBXML2_ROOT_DIR as environment or cmake variable") +endif(${LIBXML2_VERSION_STRING} VERSION_LESS "2.7.6") # HDF5 -- 2.39.2