]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Mandriva2010_32bit platform has 2.7.6 version of LibXml2 product.
authorakl <akl@opencascade.com>
Thu, 14 Feb 2013 07:41:19 +0000 (07:41 +0000)
committerakl <akl@opencascade.com>
Thu, 14 Feb 2013 07:41:19 +0000 (07:41 +0000)
CMakeLists.txt

index 7bcd0b760d020223dd549bdd4dee8586051a30ef..3146ee329b61f218afaeae21429950fdd440f239 100755 (executable)
@@ -100,9 +100,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
 set(HDF5_ROOT_DIR $ENV{HDF5_ROOT_DIR} CACHE PATH "Path to Hdf5 directory")