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

[cmake] Fix rpath for mfront / tfel on Ubuntu.

parent 256a3510
No related branches found
No related tags found
No related merge requests found
......@@ -158,3 +158,4 @@ parse:
INSTALL_COMMAND: +
BUILD_IN_SOURCE: 1
LOG_OUTPUT_ON_FAILURE: 1
CMAKE_ARGS: +
......@@ -8,6 +8,9 @@ if(OGS_USE_MFRONT)
BuildExternalProject(
TFEL GIT_REPOSITORY https://github.com/thelfer/tfel.git
GIT_TAG rliv-${ogs.minimum_version.tfel-rliv}
CMAKE_ARGS
-DCMAKE_INSTALL_RPATH=<INSTALL_DIR>/lib
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE
)
set(ENV{TFELHOME} ${PROJECT_BINARY_DIR}/_ext/TFEL)
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