Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Sep 15, 2023
1 parent 5be71ce commit a7937f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spack/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class W3emc(CMakePackage):
description="Set precision (_4/_d/_8 library versions)",
when="@2.10:",
)
variant("shared", default=False, description="Build shared library", when="@2.10: +pic")
variant("shared", default=False, description="Build shared library", when="@2.10:")
variant(
"extradeps",
default=False,
Expand All @@ -45,6 +45,7 @@ class W3emc(CMakePackage):
)

conflicts("+shared +extradeps", msg="Shared library cannot be built with unknown dependencies")
conflicts("+shared ~pic")

depends_on("bufr", when="@2.10: +bufr")
depends_on("bacio", when="@2.9.2:")
Expand Down

0 comments on commit a7937f2

Please sign in to comment.