Skip to content

Commit a21e722

Browse files
authored
Fix CMake argument mistake in zfp (spack#691)
1 parent a05e58e commit a21e722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repos/spack_repo/builtin/packages/zfp/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def cmake_args(self):
154154

155155
if "round" in spec.variants:
156156
args.append(
157-
"ZFP_ROUNDING_MODE=ZFP_ROUND_{0}".format(spec.variants["round"].value.upper())
157+
"-DZFP_ROUNDING_MODE=ZFP_ROUND_{0}".format(spec.variants["round"].value.upper())
158158
)
159159

160160
if "+cuda" in spec:

0 commit comments

Comments
 (0)