Skip to content

Commit

Permalink
another tweak v2
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed Jul 2, 2024
1 parent beb4991 commit c15b615
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyflct/setup_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ def get_extensions():
cfg["sources"].extend(sorted(glob(os.path.join("cextern", "*.c"))))
cfg["sources"].extend(sorted(glob(os.path.join(ROOT, "*.c"))))
cfg["sources"].extend(sorted(glob(os.path.join(ROOT, "flct.pyx"))))
cfg["libraries"].append("fftw3")

if sys.platform not in ["win32", "darwin"]:
cfg["libraries"].append("fftw3")
if get_compiler() == "msvc":
# Anaconda paths
cfg["include_dirs"].append(os.path.join(sys.prefix, "Library", "include"))
Expand Down

0 comments on commit c15b615

Please sign in to comment.