Skip to content
Snippets Groups Projects
Commit 777e8348 authored by Marco Biasini's avatar Marco Biasini
Browse files

don't stage dng when UI is disabled

parent 0ed2ffa6
No related branches found
No related tags found
No related merge requests found
...@@ -22,14 +22,19 @@ else() ...@@ -22,14 +22,19 @@ else()
TARGET ost_scripts OUTPUT_DIR libexec/openstructure) TARGET ost_scripts OUTPUT_DIR libexec/openstructure)
script(NAME ost INPUT ost.in SUBSTITUTE ${SUBST_DICT} script(NAME ost INPUT ost.in SUBSTITUTE ${SUBST_DICT}
TARGET ost_scripts) TARGET ost_scripts)
script(NAME dng INPUT dng.in SUBSTITUTE ${SUBST_DICT} if (ENABLE_GUI)
TARGET ost_scripts) script(NAME dng INPUT dng.in SUBSTITUTE ${SUBST_DICT}
TARGET ost_scripts)
endif()
endif() endif()
set(INIT_SCRIPTS set(INIT_SCRIPTS
init.py
init_cl.py init_cl.py
) )
if (ENABLE_GUI)
list(APPEND INIT_SCRIPTS init.py)
endif()
copy_if_different("./" "${STAGE_DIR}/${LIB_DIR}/openstructure" copy_if_different("./" "${STAGE_DIR}/${LIB_DIR}/openstructure"
"${INIT_SCRIPTS}" "python init scripts" ost_scripts) "${INIT_SCRIPTS}" "python init scripts" ost_scripts)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment