Add support for CLbundler created LibPack
* New 'UseLibPack' cmake file sets CMAKE_PREFIX_PATH so that find_package can be used for most packages. * Mimic fc_wrap_cpp defined in other 'UseLibPack' files. Some file dependencies did not get set correctly otherwise. * OCE 0.16 does not have Standard_ctype.hxx * shfolder.h can't be used with Win SDK 7.0
This commit is contained in:
@@ -15,7 +15,10 @@ FIND_LIBRARY(NGLIB_LIBRARIES nglib /usr/lib /usr/local/lib)
|
||||
SET(NETGEN_INCLUDE_DIRS)
|
||||
SET(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS} -DNO_PARALLEL_THREADS -DOCCGEOMETRY)
|
||||
|
||||
SET(NETGENDATA /usr/share/netgen/libsrc)
|
||||
if(NOT NETGENDATA)
|
||||
SET(NETGENDATA /usr/share/netgen/libsrc)
|
||||
endif()
|
||||
|
||||
FIND_PATH(NETGEN_DIR_csg csg.hpp PATHS ${NETGENDATA}/csg)
|
||||
FIND_PATH(NETGEN_DIR_gen array.hpp PATHS ${NETGENDATA}/general)
|
||||
FIND_PATH(NETGEN_DIR_geom2d geom2dmesh.hpp PATHS ${NETGENDATA}/geom2d)
|
||||
|
||||
Reference in New Issue
Block a user