seacas: fix linking on Windows (#43356)
This commit is contained in:
parent
08a04ebd46
commit
a9f3f6c007
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ def cmake_args(self):
|
|||
define(project_name_base + "_ENABLE_SEACAS", True),
|
||||
]
|
||||
)
|
||||
if "~shared" in self.spec:
|
||||
if "~shared" in self.spec and not is_windows:
|
||||
options.append(self.define(f"{project_name_base}_EXTRA_LINK_FLAGS", "z;dl"))
|
||||
options.append(from_variant("TPL_ENABLE_MPI", "mpi"))
|
||||
if "+mpi" in spec and not is_windows:
|
||||
|
|
Loading…
Reference in a new issue