Skip to content

Commit

Permalink
Fix gemmi using zlib
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed May 12, 2023
1 parent 8ecb5dc commit 1a038db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/strucclustutils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ add_library(gemmiwrapper OBJECT

get_target_property(COMPILE_TMP mmseqs-framework COMPILE_FLAGS)
get_target_property(LINK_TMP mmseqs-framework LINK_FLAGS)
get_target_property(DEF_TMP mmseqs-framework COMPILE_DEFINITIONS)
get_target_property(INCL_TMP mmseqs-framework INCLUDE_DIRECTORIES)
set_target_properties(gemmiwrapper PROPERTIES COMPILE_FLAGS "${COMPILE_TMP} -w" LINK_FLAGS "${LINK_TMP} -w")
set_property(TARGET ${TARGET} APPEND PROPERTY COMPILE_DEFINITIONS ${DEF_TMP})
set_property(TARGET ${TARGET} APPEND PROPERTY INCLUDE_DIRECTORIES ${INCL_TMP})
restore_exceptions(gemmiwrapper)
target_link_libraries(gemmiwrapper foldcomp)
target_include_directories(gemmiwrapper PRIVATE ../../lib/foldcomp/src)

0 comments on commit 1a038db

Please sign in to comment.