netgen icon indicating copy to clipboard operation
netgen copied to clipboard

Static libtogl.a library is installed on Linux

Open StefanBruens opened this issue 3 years ago • 1 comments

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

StefanBruens avatar Jul 06 '22 17:07 StefanBruens

nggui now also links PUBLIC against togl:

https://github.com/NGSolve/netgen/blob/93842302b411fbf5ce299985d01fd970c687c124/CMakeLists.txt#L283

@mhochsteger

StefanBruens avatar Jul 13 '22 09:07 StefanBruens