X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FDriver%2FCMakeLists.txt;h=62c1f0c44c36923e2ea19dda6c84a415047931be;hb=2f4749af530095df28f5b514808356070190192d;hp=feebd7edea6c07eebda8a0ffc6d54adbab335de9;hpb=1bd4ba8acdfe7ab1edc96a016836e174a393d445;p=modules%2Fsmesh.git diff --git a/src/Driver/CMakeLists.txt b/src/Driver/CMakeLists.txt index feebd7ede..62c1f0c44 100644 --- a/src/Driver/CMakeLists.txt +++ b/src/Driver/CMakeLists.txt @@ -1,9 +1,9 @@ -# Copyright (C) 2012-2013 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2012-2020 CEA/DEN, EDF R&D, OPEN CASCADE # # 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. +# 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 @@ -21,31 +21,32 @@ # additional include directories INCLUDE_DIRECTORIES( ${Boost_INCLUDE_DIRS} - ${CAS_INCLUDE_DIRS} + ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR}/src/SMESHUtils ${PROJECT_SOURCE_DIR}/src/SMESHDS + ${PROJECT_SOURCE_DIR}/src/SMDS ) # additional preprocessor / compiler flags ADD_DEFINITIONS( - ${CAS_DEFINITIONS} + ${OpenCASCADE_DEFINITIONS} ${BOOST_DEFINITIONS} ) # libraries to link to SET(_link_LIBRARIES ${KERNEL_OpUtil} - ${CAS_TKernel} - ${CAS_TKTopAlgo} + ${OpenCASCADE_FoundationClasses_LIBRARIES} + ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} SMESHDS + SMESHUtils ) # --- headers --- # header files / no moc processing SET(MeshDriver_HEADERS - Driver_Document.h Driver_Mesh.h Driver_SMDS_Mesh.h Driver_SMESHDS_Mesh.h @@ -55,7 +56,6 @@ SET(MeshDriver_HEADERS # sources / static SET(MeshDriver_SOURCES - Driver_Document.cxx Driver_Mesh.cxx Driver_SMDS_Mesh.cxx Driver_SMESHDS_Mesh.cxx