Open StefanBruens opened 2 years ago
Static libraries are installed by default, even when only used as a build artifact for building a shared library.
The simplest way to solve this is to set the library type to OBJECT instead of STATIC.
Also see https://github.com/NGSolve/netgen/pull/107
nggui now also links PUBLIC against togl:
https://github.com/NGSolve/netgen/blob/93842302b411fbf5ce299985d01fd970c687c124/CMakeLists.txt#L283
@mhochsteger
Static libraries are installed by default, even when only used as a build artifact for building a shared library.
The simplest way to solve this is to set the library type to OBJECT instead of STATIC.
Also see https://github.com/NGSolve/netgen/pull/107