Skip to content

Commit

Permalink
Three more fixes to make foldseek subproject possible
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Nov 23, 2023
1 parent e137088 commit e00a3dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set(FRAMEWORK_ONLY 1 CACHE INTERNAL "" FORCE)
include(MMseqsSetupDerivedTarget)
add_subdirectory(lib/mmseqs EXCLUDE_FROM_ALL)

set(FOLDSEEK_FRAMEWORK_ONLY 0 CACHE INTERNAL "" FORCE)
set(FOLDSEEK_FRAMEWORK_ONLY 0 CACHE BOOL "Framework mode (don't create foldseek executable)")
if (FOLDSEEK_FRAMEWORK_ONLY)
set(FRAMEWORK_ONLY 1 CACHE INTERNAL "" FORCE)
endif()
Expand Down
7 changes: 5 additions & 2 deletions lib/3di/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ add_library(3di
structureto3diseqdist.cpp
)
mmseqs_setup_derived_target(3di)

target_include_directories(3di PRIVATE ..) # needed for kerasify/keras_model.h
target_include_directories(3di
PRIVATE
.. # kerasify/keras_model.h
${PROJECT_BINARY_DIR}/generated # encoder_weights_3di.kerasify.h
)
add_dependencies(3di local-generated)
2 changes: 0 additions & 2 deletions src/commons/LocalParameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,7 @@ class LocalParameters : public Parameters {


private:

LocalParameters(LocalParameters const&);
~LocalParameters() {};
void operator=(LocalParameters const&);
};
#endif

0 comments on commit e00a3dc

Please sign in to comment.