X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=CMakeCommon%2FXMLProcessing.cmake;h=f53da3ed3f17773f8f39062413c154a15050ed51;hb=fc72d43b677baa05ae7fd317346fd8b723b799ed;hp=da2bbf47cab72ea3f012b20a0c61548a4c7a6d21;hpb=24a99a1363325ac341314c3f2e18326841940fb7;p=modules%2Fshaper.git diff --git a/CMakeCommon/XMLProcessing.cmake b/CMakeCommon/XMLProcessing.cmake index da2bbf47c..f53da3ed3 100644 --- a/CMakeCommon/XMLProcessing.cmake +++ b/CMakeCommon/XMLProcessing.cmake @@ -1,25 +1,22 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11) +# Copyright (C) 2014-2023 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# -SET(LIBXMLDIR $ENV{LIBXML2_DIR}) -INCLUDE_DIRECTORIES(${LIBXMLDIR}/include/libxml2) -LINK_DIRECTORIES (${LIBXMLDIR}/lib) - -SET(LIBXML2_LIBRARIES ${LIBXMLDIR}/lib/libxml2.lib) -#set(PROJECT_LIBRARIES ${PROJECT_LIBRARIES} ${LIBXMLDIR}/lib/libxml2.lib) - -#FILE(TO_CMAKE_PATH $ENV{PC_LIBXML_INCLUDEDIR} PC_LIBXML_INCLUDEDIR) -#FILE(TO_CMAKE_PATH $ENV{PC_LIBXML_INCLUDEDIR} PC_LIBXML_INCLUDEDIR) -#FILE(TO_CMAKE_PATH $ENV{PC_LIBXML_LIBDIR} PC_LIBXML_LIBDIR) -#message(STATUS "PC_LIBXML_INCLUDEDIR " ${PC_LIBXML_INCLUDEDIR}) -#message(STATUS "PC_LIBXML_LIBDIR " ${PC_LIBXML_LIBDIR}) - - -#FIND_PACKAGE(LibXml2 REQUIRED) -#if(LIBXML2_FOUND) -# message(STATUS "Found libxml2 ver. " ${LIBXML2_VERSION_STRING}) -# message(STATUS "LIBXML2_LIBRARIES " ${LIBXML2_LIBRARIES}) -# message(STATUS "LIBXML2_INCLUDE_DIR " ${LIBXML2_INCLUDE_DIR}) -#endif(LIBXML2_FOUND) - -#INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR}) -#ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) +ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) +INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR}) +LINK_DIRECTORIES (${LIBXML2_LIBRARIES})