mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Ensure that the CMAKE_PREFIX_PATH is checked for the libmesh installation.
This commit is contained in:
parent
4e04e8f4fb
commit
50dbd50f2b
2 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
include(FindPkgConfig)
|
||||
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:${LIBMESH_PC}")
|
||||
set(PKG_CONFIG_USE_CMAKE_PREFIX_PATH True)
|
||||
pkg_check_modules(LIBMESH REQUIRED libmesh>=1.6.0 IMPORTED_TARGET)
|
||||
|
||||
find_path(LIBMESH_PC NAMES libmesh.pc
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ def install(omp=False, mpi=False, phdf5=False, dagmc=False, libmesh=False):
|
|||
|
||||
if libmesh:
|
||||
cmake_cmd.append('-Dlibmesh=ON')
|
||||
cmake_cmd.append('-DCMAKE_PREFIX_PATH=$HOME/LIBMESH')
|
||||
cmake_cmd.append('-DCMAKE_PREFIX_PATH=/home/travis/LIBMESH')
|
||||
|
||||
# Build in coverage mode for coverage testing
|
||||
cmake_cmd.append('-Dcoverage=on')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue