Skip to content

Commit

Permalink
Fix install when building cifpp ourselves
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Oct 16, 2024
1 parent 0db97c2 commit f554bfd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,11 @@ if(NOT USE_RSRC)
# expects the data files to be located.
if(TARGET cifpp)
get_target_property(DSSP_DATA_DIR cifpp CIFPP_DATA_DIR)
get_target_property(CIFPP_SOURCE_DIR cifpp SOURCE_DIR)

install(
FILES ${CIFPP_SHARE_DIR}/mmcif_pdbx.dic
${CIFPP_SHARE_DIR}/mmcif_ddl.dic
FILES ${CIFPP_SOURCE_DIR}/rsrc/mmcif_pdbx.dic
${CIFPP_SOURCE_DIR}/rsrc/mmcif_ddl.dic
${CMAKE_CURRENT_SOURCE_DIR}/libdssp/mmcif_pdbx/dssp-extension.dic
DESTINATION ${DSSP_DATA_DIR})
else()
Expand Down

0 comments on commit f554bfd

Please sign in to comment.