]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix boost and libxml2 check procedures for PARAVIS compilation
authorvsr <vsr@opencascade.com>
Tue, 2 Mar 2010 12:45:28 +0000 (12:45 +0000)
committervsr <vsr@opencascade.com>
Tue, 2 Mar 2010 12:45:28 +0000 (12:45 +0000)
salome_adm/cmake_files/FindBOOST.cmake
salome_adm/cmake_files/FindLIBXML2.cmake

index 65600aa3944f245719bf766fbdd4c3c9e1278e08..5441126ba9cefb6942ed3bae90d0e7bcc7627ffa 100644 (file)
@@ -53,6 +53,9 @@ IF(BOOST_STATUS)
     SET(BOOST_ROOT_USER ${WITH_BOOST})
   ELSE(WITH_BOOST)
     SET(BOOST_ROOT_USER $ENV{BOOST_ROOT})
+    IF(NOT BOOST_ROOT_USER)
+      SET(BOOST_ROOT_USER $ENV{BOOSTDIR})
+    ENDIF(NOT BOOST_ROOT_USER)
   ENDIF(WITH_BOOST)
 ENDIF(BOOST_STATUS)
 
index 7d87abcc468d5826a87001cebe4e7daac6f6b1ff..7aadd99296a41e7c8e8233f95bb5605b8724981a 100644 (file)
@@ -53,6 +53,9 @@ IF(LIBXML2_STATUS)
     SET(LIBXML2_ROOT_USER ${WITH_LIBXML2})
   ELSE(WITH_LIBXML2)
     SET(LIBXML2_ROOT_USER $ENV{LIBXML2_ROOT})
+    IF(NOT LIBXML2_ROOT_USER)
+      SET(LIBXML2_ROOT_USER $ENV{LIBXML_DIR})
+    ENDIF(NOT LIBXML2_ROOT_USER)
   ENDIF(WITH_LIBXML2)
 ENDIF(LIBXML2_STATUS)