Skip to content
Snippets Groups Projects
Commit 59a90cc6 authored by Lars Bilke's avatar Lars Bilke
Browse files

[cmake] Prefer system tfel before local tfel.

parent 4007f542
No related branches found
No related tags found
No related merge requests found
include(BuildExternalProject)
if(OGS_USE_MFRONT)
if(NOT _MFRONT_TFEL_FOUND)
find_program(MFRONT mfront)
if(NOT MFRONT)
BuildExternalProject(
TFEL GIT_REPOSITORY https://github.com/thelfer/tfel.git GIT_TAG
rliv-${ogs.minimum_version.tfel-rliv}
)
set(ENV{TFELHOME} ${PROJECT_BINARY_DIR}/external/build_TFEL)
endif()
set(ENV{TFELHOME} ${PROJECT_BINARY_DIR}/external/build_TFEL)
list(APPEND CMAKE_INSTALL_RPATH $ENV{TFELHOME}/${CMAKE_INSTALL_LIBDIR})
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment