From b8442d3bdd247cb1c82fbe3da87faceefd03c252 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 27 Dec 2023 20:06:47 -0500 Subject: [PATCH] tests/examples/ add symlink --- tests/examples/CMakeLists.txt.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/examples/CMakeLists.txt.in b/tests/examples/CMakeLists.txt.in index bafa43e7b8..5be72f7f1c 100644 --- a/tests/examples/CMakeLists.txt.in +++ b/tests/examples/CMakeLists.txt.in @@ -27,6 +27,12 @@ foreach(_diff_file ${_diff_files}) set(_destination "${CMAKE_CURRENT_SOURCE_DIR}/${_destination}") file(CREATE_LINK ${_file} ${_destination} SYMBOLIC) endforeach() + + # Create a symbolic link in the temporary source directory + # so that we can access files in the example folders: + file(CREATE_LINK "${DEAL_II_SOURCE_DIR}/examples/${_step}" + "${CMAKE_CURRENT_SOURCE_DIR}/${_step}" SYMBOLIC + ) endforeach() # -- 2.39.5