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
Add model Reno, NewReno and Tahoe with ns3
[simgrid.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
bb28602
..
02e569b
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-119,12
+119,12
@@
endif(NOT CMAKE_CROSSCOMPILING AND EXISTS /usr/include/)
### Check 32bits or 64bits
INCLUDE (CheckTypeSize)
### Check 32bits or 64bits
INCLUDE (CheckTypeSize)
-CHECK_TYPE_SIZE("
long" SIZEOF_LONG
)
-IF(SIZEOF_
LONG
EQUAL 4)
+CHECK_TYPE_SIZE("
void*" SIZEOF_VOIDSTAR
)
+IF(SIZEOF_
VOIDSTAR
EQUAL 4)
SET(ARCH_32_BITS 1)
SET(ARCH_32_BITS 1)
-ELSE(SIZEOF_
LONG
EQUAL 4)
+ELSE(SIZEOF_
VOIDSTAR
EQUAL 4)
SET(ARCH_32_BITS 0)
SET(ARCH_32_BITS 0)
-ENDIF(SIZEOF_
LONG
EQUAL 4)
+ENDIF(SIZEOF_
VOIDSTAR
EQUAL 4)
if(WIN32)
if(WIN32)