From e903690e0c5b219387cce55e80a0f3ca2182ab22 Mon Sep 17 00:00:00 2001 From: Kyrre Sjobak Date: Sun, 12 Aug 2018 15:26:00 +0200 Subject: [PATCH] Give FindNETGEN a path hint so that it works with the standard Fedora 28 netgen package. --- cMake/FindNETGEN.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cMake/FindNETGEN.cmake b/cMake/FindNETGEN.cmake index aefdd9dc11..d7c453b43f 100644 --- a/cMake/FindNETGEN.cmake +++ b/cMake/FindNETGEN.cmake @@ -15,7 +15,7 @@ find_package(Netgen CONFIG) if(Netgen_FOUND) - set(NGLIB_INCLUDE_DIR ${NETGEN_INCLUDE_DIR}) + set(NGLIB_INCLUDE_DIR ${NETGEN_INCLUDE_DIR} PATH_SUFFIXES netgen-mesher) set(NGLIB_LIBRARIES nglib) set(NETGEN_DEFINITIONS -DNO_PARALLEL_THREADS -DOCCGEOMETRY) # for external smesh only the following two variables are needed: