forked from lin-midas-pages/common_pages
Add variable-based logic for Beamline_overview_images.json manifest
This commit is contained in:
1 parent
6246b91050
commit
3c3554b236
1 file changed
+2
-1
+2
-1
@@ -13,9 +13,10 @@ endif()
|
||||
install(
|
||||
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/pages/
|
||||
DESTINATION .
|
||||
PATTERN "Beamline_overview_images.json" EXCLUDE
|
||||
)
|
||||
|
||||
if(NOT EXISTS "${CMAKE_SOURCE_DIR}/pages/Beamline_overview_images.json")
|
||||
if(NOT BEAMLINE_OVERVIEW_IMAGES_OVERRIDE)
|
||||
install(
|
||||
FILES ${CMAKE_CURRENT_SOURCE_DIR}/pages/Beamline_overview_images.json
|
||||
DESTINATION .
|
||||
|
||||
Reference in new issue
Block a user