Skip to content

Commit d7989a8

Browse files
committed
fix Sperr build
1 parent d8b9075 commit d7989a8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -775,10 +775,11 @@ def get_snappy_clib(field=None):
775775
def get_sperr_clib(field=None):
776776
"""sperr static lib and sperr filter C++20 source file build config"""
777777
sperr_dir = "src/SPERR"
778+
h5z_sperr_dir = "src/H5Z-SPERR"
778779

779780
config = dict(
780-
sources=glob(f"{sperr_dir}/src/*.cpp") + [f"src/H5Z-SPERR/src/h5zsperr_helper.cpp"],
781-
include_dirs=[f"{sperr_dir}/include"],
781+
sources=glob(f"{sperr_dir}/src/*.cpp") + [f"{h5z_sperr_dir}/src/h5zsperr_helper.cpp"],
782+
include_dirs=[f"{sperr_dir}/include", f"{h5z_sperr_dir}/include"],
782783
macros=[
783784
("SPERR_VERSION_MAJOR", 0), # Check project(SPERR VERSION ... in src/SPERR/CMakeLists.txt
784785
("USE_VANILLA_CONFIG", 1),

0 commit comments

Comments
 (0)