X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e6b5e106ef53a55ba7a1d7228f19456c9b249df9..77dc8c37f29bb55bcbbbda3da52f06d1fe438510:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 57f1afc82b..d783249ebe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -189,7 +189,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)