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
Compilation and context work on Mac
[simgrid.git]
/
buildtools
/
CPACK
/
src
/
CTestConfig.cmake
diff --git
a/buildtools/CPACK/src/CTestConfig.cmake
b/buildtools/CPACK/src/CTestConfig.cmake
index
c8aacb0
..
ddf566d
100644
(file)
--- a/
buildtools/CPACK/src/CTestConfig.cmake
+++ b/
buildtools/CPACK/src/CTestConfig.cmake
@@
-17,13
+17,13
@@
exec_program("${CAT}" ARGS "version" OUTPUT_VARIABLE VERSION)
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
SET(DISTRIB2 "OSX")
else(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
SET(DISTRIB2 "OSX")
else(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
-
#Try to get the distrib
exec_program("${CAT}" ARGS " /etc/issue" OUTPUT_VARIABLE DISTRIB)
MARK_AS_ADVANCED(CAT)
#Try to get the distrib
exec_program("${CAT}" ARGS " /etc/issue" OUTPUT_VARIABLE DISTRIB)
MARK_AS_ADVANCED(CAT)
+ STRING(REPLACE " \\n \\l" "" DISTRIB2 ${DISTRIB})
endif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
endif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
-STRING(REPLACE " \\n \\l" "" DISTRIB2 ${DISTRIB})
+
getuname(osname -s)
getuname(node -n)
getuname(osname -s)
getuname(node -n)