From 16991d11ff763e234449cb61357dc69436213927 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 22 Feb 2013 06:27:09 +0000 Subject: [PATCH] Remove check of libxml2 version - it fails on Mandriva 2008 due to a bug of CMake --- salome_adm/cmake_files/FindSalomeLIBXML2.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/salome_adm/cmake_files/FindSalomeLIBXML2.cmake b/salome_adm/cmake_files/FindSalomeLIBXML2.cmake index 674e5f428..f64b21d81 100644 --- a/salome_adm/cmake_files/FindSalomeLIBXML2.cmake +++ b/salome_adm/cmake_files/FindSalomeLIBXML2.cmake @@ -8,6 +8,6 @@ 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.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") +#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") -- 2.39.2