Skip to content

Commit

Permalink
Merge pull request #197 from loumalouomega/master
Browse files Browse the repository at this point in the history
[CMake] Correcting CMake modules in compilation errors found in certain CMake versions
  • Loading branch information
Algiane authored Jul 17, 2023
2 parents adf56d6 + 8b60f2a commit 9c69a7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake/tools/FindMMG2D.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if(MMG_INCDIR)
find_path(MMG2D_libmmgtypes.h_DIRS
NAMES libmmgtypes.h
HINTS ${MMG_INCDIR}
PATH_SUFFIXES "mmg/mmg2d" "mmg2d")
PATH_SUFFIXES "mmg" "mmg/mmg2d" "mmg2d" "mmg/common")
else()
if(MMG_DIR)
set(MMG2D_libmmgtypes.h_DIRS "MMG2D_libmmgtypes.h_DIRS-NOTFOUND")
Expand Down
2 changes: 1 addition & 1 deletion cmake/tools/FindMMG3D.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if(MMG_INCDIR)
find_path(MMG3D_libmmgtypes.h_DIRS
NAMES libmmgtypes.h
HINTS ${MMG_INCDIR}
PATH_SUFFIXES "mmg/mmg3d" "mmg3d")
PATH_SUFFIXES "mmg/mmg3d" "mmg3d" "mmg/common")
else()
if(MMG_DIR)
set(MMG3D_libmmgtypes.h_DIRS "MMG3D_libmmgtypes.h_DIRS-NOTFOUND")
Expand Down
2 changes: 1 addition & 1 deletion cmake/tools/FindMMGS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if(MMG_INCDIR)
find_path(MMGS_libmmgtypes.h_DIRS
NAMES libmmgtypes.h
HINTS ${MMG_INCDIR}
PATH_SUFFIXES "mmg/mmgs" "mmgs")
PATH_SUFFIXES "mmg/mmgs" "mmgs" "mmg/common")
else()
if(MMG_DIR)
set(MMGS_libmmgtypes.h_DIRS "MMGS_libmmgtypes.h_DIRS-NOTFOUND")
Expand Down

0 comments on commit 9c69a7c

Please sign in to comment.