dftlibs / xcfun

XCFun: A library of exchange-correlation functionals with arbitrary-order derivatives
https://dftlibs.org/xcfun/
Mozilla Public License 2.0
57 stars 32 forks source link

Activate -fPIC when building Python library #51

Closed chjacob-tubs closed 6 years ago

chjacob-tubs commented 6 years ago

Without this change, building the Python bindings fails for me on Linux with gcc. I tried to do this the correct cmake-way, hope I got it right.