Skip to content

Commit

Permalink
Link version directly to foldseek, not to foldseek-framework
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Nov 20, 2023
1 parent 03804c3 commit 9a1a087
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ set(HAVE_GCS 0 CACHE BOOL "Have Google Cloud Storage SDK")
include_directories(commons)
add_subdirectory(strucclustutils)
add_subdirectory(commons)
add_subdirectory(version)
add_subdirectory(workflow)

add_library(foldseek-framework
Expand All @@ -14,7 +13,7 @@ add_library(foldseek-framework
FoldseekBase.cpp
)
mmseqs_setup_derived_target(foldseek-framework)
target_link_libraries(foldseek-framework version gemmiwrapper 3di pulchra kerasify tmalign block-aligner-c)
target_link_libraries(foldseek-framework gemmiwrapper 3di pulchra kerasify tmalign block-aligner-c)
add_dependencies(foldseek-framework local-generated)

if(HAVE_GCS)
Expand All @@ -23,7 +22,9 @@ if(HAVE_GCS)
endif()

if (NOT FOLDSEEK_FRAMEWORK_ONLY)
add_subdirectory(version)
add_executable(foldseek foldseek.cpp)
mmseqs_setup_derived_target(foldseek foldseek-framework)
target_link_libraries(foldseek version)
install(TARGETS foldseek DESTINATION bin)
endif()

0 comments on commit 9a1a087

Please sign in to comment.