Salome HOME
Fix: getCellsContainingPoints() in case of polyhedron with a face containing colinear...
[tools/medcoupling.git] / MEDCouplingConfig.cmake.in
index 93de11aafec768e7e3e9623fc2471805490c5662..ca5cfdf9d2ee51d2b64442629762be66c8ab95dc 100644 (file)
@@ -1,11 +1,11 @@
 # - Config file for the @PROJECT_NAME@ package
 # It defines the following variables. 
-# Specific to the pacakge @PROJECT_NAME@ itself:
+# Specific to the package @PROJECT_NAME@ itself:
 #  @PROJECT_NAME_UC@_ROOT_DIR_EXP - the root path of the installation providing this CMake file
 #
 
 ###############################################################
-# Copyright (C) 2013-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2013-2024  CEA, EDF, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -30,7 +30,7 @@
 # Load the dependencies for the libraries of @PROJECT_NAME@ 
 # (contains definitions for IMPORTED targets). This is only 
 # imported if we are not built as a subproject (in this case targets are already there)
-IF(NOT TARGET medcoupling AND NOT @PROJECT_NAME@_BINARY_DIR)
+IF(NOT TARGET medcouplingcpp AND NOT @PROJECT_NAME@_BINARY_DIR)
   INCLUDE("@PACKAGE_MEDCOUPLING_INSTALL_CMAKE_LOCAL@/@PROJECT_NAME@Targets.cmake")
 ENDIF()   
 
@@ -54,6 +54,7 @@ SET(MEDCOUPLING_USE_MPI            @MEDCOUPLING_USE_MPI@)
 SET(MEDCOUPLING_BUILD_DOC      @MEDCOUPLING_BUILD_DOC@)
 SET(MEDCOUPLING_BUILD_TESTS    @MEDCOUPLING_BUILD_TESTS@)
 SET(MEDCOUPLING_BUILD_GUI      @MEDCOUPLING_BUILD_GUI@)
+SET(MEDCOUPLING_USE_64BIT_IDS  @MEDCOUPLING_USE_64BIT_IDS@)
 
 # Advanced options
 
@@ -112,9 +113,16 @@ ENDIF(MEDCOUPLING_ENABLE_PYTHON)
 SET(MEDCOUPLING_INSTALL_RES "@MEDCOUPLING_INSTALL_BINS@")
 SET(MEDCOUPLING_INSTALL_DOC "@MEDCOUPLING_INSTALL_BINS@")
 
+# MPI configuration used when compiling MEDCoupling (if relevant)
+SET(MEDCOUPLING_CXX_COMPILER "@MEDCOUPLING_CXX_COMPILER@")
+SET(MEDCOUPLING_MPI_CXX_COMPILER "@MEDCOUPLING_MPI_CXX_COMPILER@")
+SET(MEDCOUPLING_MPI_CXX_LIBRARIES "@MEDCOUPLING_MPI_CXX_LIBRARIES@")
+
 # Exposed MEDCoupling targets:
 SET(MEDCoupling_interpkernel interpkernel)
-SET(MEDCoupling_medcoupling medcoupling)
+SET(MEDCoupling_medcouplingcpp medcouplingcpp)
+SET(MEDCoupling_medcoupling    medcouplingcpp)
+SET(MEDCoupling_medicoco    medicoco)
 SET(MEDCoupling_medcouplingremapper medcouplingremapper)
 SET(MEDCoupling_medloader medloader)
 SET(MEDCoupling_renumbercpp renumbercpp)