Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't try to change the rate of task once it's done, the new test in
[simgrid.git] / CMakeLists.txt
index 57f1afc..d783249 100644 (file)
@@ -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)