Give FindNETGEN a path hint so that it works with the standard Fedora 28 netgen package.

This commit is contained in:
Kyrre Sjobak
2018-08-12 15:26:00 +02:00
parent 9a6dcff1de
commit e903690e0c

View File

@@ -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: