A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use _strdup is strdup is not available
[simgrid.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
57f1afc
..
d783249
100644
(file)
--- 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()
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)
set(_XBT_WIN32 1)