X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0206d298260fae6a6e1c7c3577ec31a022d34fe4..3592a2aaeeb3fff08acf80f6b5830d8fc1670aad:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 7dea4f7bd7..19a9267fe4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -167,6 +167,10 @@ set(INCLUDES ${CMAKE_HOME_DIRECTORY}/src/include ) +if(enable_smpi) + set (INCLUDES ${INCLUDES} ${CMAKE_HOME_DIRECTORY}/src/smpi/include) +endif() + if(NOT CMAKE_CROSSCOMPILING AND EXISTS /usr/include/) set(INCLUDES ${INCLUDES} /usr/include/) endif()