X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e6b5e106ef53a55ba7a1d7228f19456c9b249df9..dcdb874a33c9e23f0b61294874bde89f7aa7c899:/CMakeLists.txt?ds=sidebyside diff --git a/CMakeLists.txt b/CMakeLists.txt index 57f1afc82b..9f85a08141 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ if (APPLE) #MAC set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) endif() -if (NOT DEFINED enable_smpi OR enable_smpi) # smpi is enabled by default +if ((NOT DEFINED enable_smpi OR enable_smpi) AND NOT APPLE) # smpi is enabled by default # Call enable_language(Fortran) in order to load the build rules for # this language, needed by teshsuite/smpi/mpich-test/. Use # CMAKE_FORCE_Fortran_COMPILER to bypass checks for a working @@ -65,8 +65,9 @@ else() set(release_version "${SIMGRID_VERSION_MAJOR}.${SIMGRID_VERSION_MINOR}.${SIMGRID_VERSION_PATCH}") endif() -set(SIMGRID_VERSION_STRING - "SimGrid version ${release_version}${SIMGRID_VERSION_EXTRA}\\nCopyright (c) 2004-${SIMGRID_VERSION_DATE}. The Simgrid Team.") +set(SIMGRID_VERSION_STRING "SimGrid version ${release_version}${SIMGRID_VERSION_EXTRA}") +set(SIMGRID_VERSION_BANNER + "SIMGRID_VERSION_STRING\\nCopyright (c) 2004-${SIMGRID_VERSION_DATE}. The Simgrid Team.") set(libsimgrid_version "${release_version}") set(libsimgrid-java_version "${release_version}") @@ -189,7 +190,9 @@ if(WIN32) if(NSIS_WIN_VERSION MATCHES "") set(NSIS_WIN_VERSION $ENV{PROCESSOR_ARCHITECTURE}) endif() - string(TOLOWER ${NSIS_WIN_VERSION} NSIS_WIN_VERSION) + if(${NSIS_WIN_VERSION}) + string(TOLOWER ${NSIS_WIN_VERSION} NSIS_WIN_VERSION) + endif() set(_XBT_WIN32 1)