From d2c6fae1b06e939b4b8bef07304bdbefac6309f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Simonis?= Date: Thu, 7 Nov 2024 16:18:47 +0100 Subject: [PATCH] Autoupdate python scripts in binary dir --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 15fa61a6..05f28649 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,9 +104,9 @@ else () ) endif() -file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/src/precice-aste-partition DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) -file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/src/precice-aste-join DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) -file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/src/precice-aste-evaluate DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) +configure_file(src/precice-aste-partition . COPYONLY) +configure_file(src/precice-aste-join . COPYONLY) +configure_file(src/precice-aste-evaluate . COPYONLY) include(GNUInstallDirs) install(TARGETS precice-aste-run DESTINATION ${CMAKE_INSTALL_BINDIR})