i’m attempting to build netgen from git source using cmake with occ support but i keep seeing errors in the CMakeCache.txt
after running cmake to setup netgen for build.
the cmake command i’m using is,
cmake \
-DCMAKE_PREFIX_PATH="$bp/Cellar/opencascade/7.5.3/lib/cmake" \
-DUSE_OCC:BOOL=ON \
--graphviz=/opt/code/ltmp/netgen-deps/netgen.graphviz.dep \
-DCMAKE_INSTALL_PREFIX=/opt/beta/netgen ../netgen-src
and when i view the CMakeCache.txt
file in the build dir i see something like the below snippet inside the file,
//enable mpi4py interface
USE_MPI4PY:BOOL=ON
//build for native cpu architecture
USE_NATIVE_ARCH:BOOL=ON
//compile with NUMA-aware code
USE_NUMA:BOOL=OFF
//(not supported) compile with OpenCascade geometry kernel
USE_OCC:BOOL=ON
//build with python interface
USE_PYTHON:BOOL=ON
//Enable spd log logging
USE_SPDLOG:BOOL=OFF
and looking over the netgen documentation for cmake flags i see,
https://docu.ngsolve.org/latest/install/cmakeoptions.html
what am i doing wrong here?