cmake: error for POEMS + BODY package

This commit is contained in:
Christoph Junghans
2017-07-20 15:02:41 -06:00
parent 1749d643c7
commit 427ca88dd4

View File

@ -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
######################################################