Revert "make delete_bonds command code compatible with BPM package not being installed"
This reverts commit 715b030bd6.
This commit is contained in:
@ -662,14 +662,9 @@ foreach(PKG_WITH_INCL CORESHELL DPD-SMOOTH MC MISC PHONON QEQ OPENMP KOKKOS OPT
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
######################################################################
|
||||
# packages with defines to disable package specific code
|
||||
######################################################################
|
||||
foreach(PKG_WITH_DEF BPM PLUGIN)
|
||||
if(PKG_${PKG_WITH_DEF})
|
||||
target_compile_definitions(lammps PRIVATE -DLMP_${PKG_WITH_DEF})
|
||||
endif()
|
||||
endforeach()
|
||||
if(PKG_PLUGIN)
|
||||
target_compile_definitions(lammps PRIVATE -DLMP_PLUGIN)
|
||||
endif()
|
||||
|
||||
# link with -ldl or equivalent for plugin loading; except on Windows
|
||||
if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
|
||||
|
||||
Reference in New Issue
Block a user