X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/390322eb82e3676ea5fad6b4320e8999fedaa2a8..ed5a340afeaa90fd0964b0fae5e538496433d2ec:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 54b68d11d4..ab7004ea06 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -158,12 +158,12 @@ if(WIN32) if(ARCH_32_BITS) ### Arch 32bits set(_WIN32 1) - set(NSIS_WIN_VERSION "win32") else(ARCH_32_BITS) ### Arch 64bits set(_WIN64 1) - set(NSIS_WIN_VERSION "win64") endif(ARCH_32_BITS) + set(NSIS_WIN_VERSION $ENV{PROCESSOR_ARCHITEW6432}) + string(TOLOWER ${NSIS_WIN_VERSION} NSIS_WIN_VERSION) set(_XBT_WIN32 1)