From 6246b910505dc1e1b45e299efd9726643736d3ef Mon Sep 17 00:00:00 2001 From: smathis Date: Fri, 24 Jul 2026 07:19:08 +0200 Subject: [PATCH] Prevent overriding of manifest if a higher-level CMakeLists.txt provides one --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 545a0e2..3faf8f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,4 +15,11 @@ install( DESTINATION . ) +if(NOT EXISTS "${CMAKE_SOURCE_DIR}/pages/Beamline_overview_images.json") + install( + FILES ${CMAKE_CURRENT_SOURCE_DIR}/pages/Beamline_overview_images.json + DESTINATION . + ) +endif() + install(SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/configure_odb.cmake")