seacas: fix linking on Windows (#43356)
This commit is contained in:
parent
08a04ebd46
commit
a9f3f6c007
@ -238,7 +238,7 @@ def cmake_args(self):
|
|||||||
define(project_name_base + "_ENABLE_SEACAS", True),
|
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(self.define(f"{project_name_base}_EXTRA_LINK_FLAGS", "z;dl"))
|
||||||
options.append(from_variant("TPL_ENABLE_MPI", "mpi"))
|
options.append(from_variant("TPL_ENABLE_MPI", "mpi"))
|
||||||
if "+mpi" in spec and not is_windows:
|
if "+mpi" in spec and not is_windows:
|
||||||
|
Loading…
Reference in New Issue
Block a user