NGSolve / netgen

https://ngsolve.org
GNU Lesser General Public License v2.1
300 stars 132 forks source link

Static libtogl.a library is installed on Linux #126

Open StefanBruens opened 2 years ago

StefanBruens commented 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

StefanBruens commented 2 years ago

nggui now also links PUBLIC against togl:

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

@mhochsteger