Skip to content
Snippets Groups Projects
Commit 73379268 authored by Valerio Mariani's avatar Valerio Mariani
Browse files

Fixes DZDNG-297: Some files not copied by make install

parent 26556eef
Branches
Tags
No related merge requests found
...@@ -31,11 +31,11 @@ if (COMPOUND_LIB) ...@@ -31,11 +31,11 @@ if (COMPOUND_LIB)
if (EXISTS "${COMPOUND_LIB}") if (EXISTS "${COMPOUND_LIB}")
copy_if_different("./" "${STAGE_DIR}/share/openstructure" copy_if_different("./" "${STAGE_DIR}/share/openstructure"
"${COMPOUND_LIB}" "COMPOUND_LIB" ost_conop) "${COMPOUND_LIB}" "COMPOUND_LIB" ost_conop)
install(FILES ${INSPECTOR_ICONS} DESTINATION "share/openstructure") install(FILES ${COMPOUND_LIB} DESTINATION "share/openstructure")
else() else()
message(FATAL_ERROR "${COMPOUND_LIB} does not exist. \n" message(FATAL_ERROR "${COMPOUND_LIB} does not exist. \n"
"Pass -DCOMPOUND_LIB=NONE if you would like to build " "Pass -DCOMPOUND_LIB=NONE if you would like to build "
"OpenStructure without a compound library") "OpenStructure without a compound library")
endif() endif()
endif() endif()
\ No newline at end of file
...@@ -49,3 +49,5 @@ module(NAME mol_alg SOURCES ${OST_MOL_ALG_SOURCES} ...@@ -49,3 +49,5 @@ module(NAME mol_alg SOURCES ${OST_MOL_ALG_SOURCES}
copy_if_different("." "${STAGE_DIR}/share/openstructure" copy_if_different("." "${STAGE_DIR}/share/openstructure"
"atom_scattering_properties.txt" "ATOM_SCATTERING_PROPS" "atom_scattering_properties.txt" "ATOM_SCATTERING_PROPS"
"ost_mol_alg") "ost_mol_alg")
install(FILES "atom_scattering_properties.txt" DESTINATION "share/openstructure/")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment