QMCPACK/qmcpack
CMakeLists.txt
:565
else(HAVE_MPI)
else(HAVE_MPI)
endif(HAVE_MPI)
else(HAVE_MPI)
endif(HAVE_MPI)
else(HAVE_MPI)
endif(HAVE_MPI)
endif(HAVE_MPI)
else(HAVE_MPI)
endif(HAVE_MPI)
endif(HAVE_MPI)
endif(HAVE_MPI)
endif(HAVE_MPI)
file(STRINGS "${EPETRA_CONFIG_H}" EPETRA_MPI_STRING
REGEX "^[ \t]*#[ \t]*define[ \t]+HAVE_MPI")
target_compile_definitions (gptl
PRIVATE HAVE_MPI)
target_compile_definitions (gptl
PUBLIC HAVE_MPI)
target_compile_definitions(mmseqs-framework PUBLIC -DHAVE_MPI=1 -DOMPI_SKIP_MPICXX=1)
target_compile_definitions(version PRIVATE -DHAVE_MPI=${HAVE_MPI})
target_compile_definitions(version PRIVATE -DHAVE_MPI=${HAVE_MPI})
target_compile_definitions(version PRIVATE -DHAVE_MPI=${HAVE_MPI})
add_definitions(-DHAVE_MPI)
CHECK_CXX_SOURCE_COMPILES(
"
#include <SAMRAI_config.h>
#ifndef HAVE_MPI
#error
#endif
int main() {}
"
SAMRAI_WITH_MPI)