mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Pass CMAKE_PREFIX_PATH from NCrystall installation
This commit is contained in:
parent
fff545ac79
commit
8598ff7e43
1 changed files with 2 additions and 0 deletions
|
|
@ -56,6 +56,8 @@ def install(omp=False, mpi=False, phdf5=False, dagmc=False, libmesh=False, ncrys
|
|||
|
||||
if ncrystal:
|
||||
cmake_cmd.append('-DOPENMC_USE_NCRYSTAL=ON')
|
||||
ncrystal_path = os.environ.get('CMAKE_PREFIX_PATH')
|
||||
cmake_cmd.append('-DCMAKE_PREFIX_PATH=' + ncrystal_path)
|
||||
|
||||
# Build in coverage mode for coverage testing
|
||||
cmake_cmd.append('-DOPENMC_ENABLE_COVERAGE=on')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue