From e08c9d21dd49d980204b8b7d37cf8e235a8102ee Mon Sep 17 00:00:00 2001 From: Christophe Bourcier Date: Wed, 19 Apr 2023 14:32:05 +0200 Subject: [PATCH] Add MeshGems CVM, needed to use mg-tetra_hpc as a library --- cmake/FindMESHGEMS.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/FindMESHGEMS.cmake b/cmake/FindMESHGEMS.cmake index a399af3..4e98a2d 100644 --- a/cmake/FindMESHGEMS.cmake +++ b/cmake/FindMESHGEMS.cmake @@ -62,6 +62,7 @@ FIND_LIBRARY(MESHGEMS_HEXA_LIBRARY NAMES mg-hexa PATH_SUFFIXES ${_p FIND_LIBRARY(MESHGEMS_HYBRID_LIBRARY NAMES mg-hybrid PATH_SUFFIXES ${_plt}) FIND_LIBRARY(MESHGEMS_TETRA_LIBRARY NAMES mg-tetra PATH_SUFFIXES ${_plt}) FIND_LIBRARY(MESHGEMS_TETRA_HPC_LIBRARY NAMES mg-tetra_hpc PATH_SUFFIXES ${_plt}) +FIND_LIBRARY(MESHGEMS_CVM_LIBRARY NAMES mg-cvm PATH_SUFFIXES ${_plt}) # TODO: search all components IF(MESHGEMS_LIB_meshgems) @@ -72,6 +73,7 @@ IF(MESHGEMS_LIB_meshgems) SET(MESHGEMS_HYBRID_LIBRARY ${MESHGEMS_HYBRID_LIBRARY} ${MESHGEMS_LIBRARY_meshgems}) SET(MESHGEMS_TETRA_LIBRARY ${MESHGEMS_TETRA_LIBRARY} ${MESHGEMS_LIBRARY_meshgems}) SET(MESHGEMS_TETRA_HPC_LIBRARY ${MESHGEMS_TETRA_HPC_LIBRARY} ${MESHGEMS_LIBRARY_meshgems}) + SET(MESHGEMS_CVM_LIBRARY ${MESHGEMS_CVM_LIBRARY} ${MESHGEMS_LIBRARY_meshgems}) ENDIF(MESHGEMS_LIB_meshgems) INCLUDE(FindPackageHandleStandardArgs) -- 2.39.2