[petsc-users] petsc cmake config - BUILD_SHARED_LIBS

Arne Morten Kvarving arne.morten.kvarving at sintef.no
Tue Oct 13 08:43:29 CDT 2015


hi there;

why does the cmake config file set the BUILD_SHARED_LIBS variable? this 
affects all buildsystem where the config file is included, and has 0 
effect on the actual petsc side of things.

i don't see why petsc should decided whether i want to use static 
libraries in my application or not.
i can keep hacking around it, or supply a patch to get rid of it. but i 
figured i'd ask for the reasoning first.

if this should have gone to -dev, i'm sorry. i thought it fit better here.

arnem


More information about the petsc-users mailing list