Skip to content

Commit

Permalink
Set compiler flags in python packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
tnipen committed Jun 12, 2020
1 parent 1f5f998 commit 4ee6449
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extras/python/setup.in.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def run(self):
sources=glob.glob('src/*.cpp') + glob.glob('src/*.c') + ['src/titanlibPYTHON_wrap.cxx'],
libraries=["gsl", "gslcblas", "proj"],
library_dirs=["/usr/lib/x86_64-linux-gnu/"],
extra_compile_args="${CMAKE_CXX_FLAGS}".split(),
extra_link_args="${CMAKE_CXX_FLAGS}".split(),
include_dirs=['./include']
)

Expand Down

0 comments on commit 4ee6449

Please sign in to comment.