Skip to content
Snippets Groups Projects
Commit 5e64cbd4 authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Task #2669: Fixed problem reported by Alexander van Amesfoort.

CMake's 3.x create_symlink always overwrites existing files. This caused a circular link to mpirun.sh in ${CMAKE_BINARY_DIR}/bin, because that script is generated in that directory, but was clobbered immediately afterwards, due to the fact that lofar_add_bin_scripts() creates a symlink to that script in ${CMAKE_BINARY_DIR}/bin for testing purposes.
parent f5bb6177
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ install(FILES
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/mpirun.sh.in
${CMAKE_BINARY_DIR}/bin/mpirun.sh @ONLY)
${CMAKE_CURRENT_BINARY_DIR}/bin/mpirun.sh @ONLY)
lofar_add_bin_scripts(${CMAKE_BINARY_DIR}/bin/mpirun.sh)
lofar_add_bin_scripts(${CMAKE_CURRENT_BINARY_DIR}/bin/mpirun.sh)
lofar_add_bin_scripts(ping_intl.sh)
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