Skip to content

Commit

Permalink
move hard-coded paths to pkgconfig file
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@3961 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 22, 2013
1 parent 68f9697 commit 5539bff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1013,11 +1013,10 @@ def make_constants(*paths):

toggle_packages(csc_nvcuda_ENABLED, "xpra.codecs.csc_nvcuda")
if csc_nvcuda_ENABLED:
cuda_pkgconfig = pkgconfig("cuda")
cython_add(Extension("xpra.codecs.csc_nvcuda.colorspace_converter",
["xpra/codecs/csc_nvcuda/colorspace_converter.pyx", "xpra/codecs/csc_nvcuda/csc_nvcuda.c"],
include_dirs = ['/opt/cuda/include','/usr/local/cuda/include'],
libraries = ['cudart', 'npp', 'cuda'],
library_dirs = ['/opt/cuda/lib64']), min_version=(0, 16))
**cuda_pkgconfig), min_version=(0, 16))


toggle_packages(vpx_ENABLED, "xpra.codecs.vpx")
Expand Down

0 comments on commit 5539bff

Please sign in to comment.