From 0abd8870ba0d2060094bedbd60a432f5e4aeda00 Mon Sep 17 00:00:00 2001 From: Valerio Mariani <valerio.mariani@unibas.ch> Date: Fri, 22 Jul 2011 15:59:58 +0200 Subject: [PATCH] Fixes DZDNG-297: Some files not copied by make install --- modules/conop/src/CMakeLists.txt | 4 ++-- modules/mol/alg/src/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/conop/src/CMakeLists.txt b/modules/conop/src/CMakeLists.txt index e69c45689..00d029686 100644 --- a/modules/conop/src/CMakeLists.txt +++ b/modules/conop/src/CMakeLists.txt @@ -29,11 +29,11 @@ if (COMPOUND_LIB) if (EXISTS "${COMPOUND_LIB}") copy_if_different("./" "${STAGE_DIR}/share/openstructure" "${COMPOUND_LIB}" "COMPOUND_LIB" ost_conop) - install(FILES ${INSPECTOR_ICONS} DESTINATION "share/openstructure") + install(FILES ${COMPOUND_LIB} DESTINATION "share/openstructure") else() message(FATAL_ERROR "${COMPOUND_LIB} does not exist. \n" "Pass -DCOMPOUND_LIB=NONE if you would like to build " "OpenStructure without a compound library") endif() -endif() \ No newline at end of file +endif() diff --git a/modules/mol/alg/src/CMakeLists.txt b/modules/mol/alg/src/CMakeLists.txt index d1c84aa18..c02176246 100644 --- a/modules/mol/alg/src/CMakeLists.txt +++ b/modules/mol/alg/src/CMakeLists.txt @@ -43,3 +43,5 @@ module(NAME mol_alg SOURCES ${OST_MOL_ALG_SOURCES} copy_if_different("." "${STAGE_DIR}/share/openstructure" "atom_scattering_properties.txt" "ATOM_SCATTERING_PROPS" "ost_mol_alg") +install(FILES "atom_scattering_properties.txt" DESTINATION "share/openstructure/") + -- GitLab