Commit 427ca88d authored by Christoph Junghans's avatar Christoph Junghans
Browse files

cmake: error for POEMS + BODY package

parent 1749d643
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -102,6 +102,10 @@ pkg_depends(USER-LB MPI)
pkg_depends(USER-MISC MANYBODY)
pkg_depends(USER-PHONON KSPACE)

if(ENABLE_BODY AND ENABLE_POEMS)
  message(FATAL_ERROR "BODY and POEMS cannot be enabled at the same time")
endif()

######################################################
# packages with special compiler needs or external libs
######################################################