Skip to content

Commit

Permalink
Set compiler flags in python packaging, remove libproj
Browse files Browse the repository at this point in the history
  • Loading branch information
tnipen committed Jun 12, 2020
1 parent 790e169 commit 9f1b3c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extras/python/setup.in.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ def run(self):
sources=glob.glob('src/api/*.cpp') + glob.glob('src/api/*.c') + ['src/gridppPYTHON_wrap.cxx'],
#language="c++",
#swig_opts=['-I./include', '-c++', '-I/usr/include/python3.6m'],
libraries=["gsl", "gslcblas", "proj", "armadillo"],
libraries=["gsl", "gslcblas", "armadillo"],
extra_compile_args="${CMAKE_CXX_FLAGS}".split(),
extra_link_args="${CMAKE_CXX_FLAGS}".split(),
library_dirs=["/usr/lib/x86_64-linux-gnu/"],
include_dirs=['./include']
)
Expand Down

0 comments on commit 9f1b3c4

Please sign in to comment.