X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a70186f00cc3977370401b4736aac4e43c5fc689..58a9c67822f4640964044ec485426d090bcb123f:/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)