seacas: Set TPL_ENABLE_Pthread=ON when +thread_safe (#39703)
* seacas: Set TPL_ENABLE_Pthread=ON when +thread_safe This should fix #39702 Basically, following suggestion of error message and setting TPL_ENABLE_Pthread to the value of the boolean spack variant thread_safe * seacas: Fix style issue Add space after comment #
This commit is contained in:
parent
743a93902d
commit
c59f68a33d
1 changed files with 2 additions and 0 deletions
|
@ -195,6 +195,8 @@ def cmake_args(self):
|
||||||
from_variant("BUILD_SHARED_LIBS", "shared"),
|
from_variant("BUILD_SHARED_LIBS", "shared"),
|
||||||
from_variant("SEACASExodus_ENABLE_THREADSAFE", "thread_safe"),
|
from_variant("SEACASExodus_ENABLE_THREADSAFE", "thread_safe"),
|
||||||
from_variant("SEACASIoss_ENABLE_THREADSAFE", "thread_safe"),
|
from_variant("SEACASIoss_ENABLE_THREADSAFE", "thread_safe"),
|
||||||
|
# SEACASExodus_ENABLE_THREADSAFE=ON requires TPL_ENABLE_Pthread=ON
|
||||||
|
from_variant("TPL_ENABLE_Pthread", "thread_safe"),
|
||||||
from_variant("TPL_ENABLE_X11", "x11"),
|
from_variant("TPL_ENABLE_X11", "x11"),
|
||||||
from_variant(project_name_base + "_ENABLE_Fortran", "fortran"),
|
from_variant(project_name_base + "_ENABLE_Fortran", "fortran"),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue