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
this is needed also with clang
[simgrid.git]
/
tools
/
cmake
/
MakeLib.cmake
diff --git
a/tools/cmake/MakeLib.cmake
b/tools/cmake/MakeLib.cmake
index
24b8b07
..
1a92e35
100644
(file)
--- a/
tools/cmake/MakeLib.cmake
+++ b/
tools/cmake/MakeLib.cmake
@@
-134,7
+134,7
@@
if(CMAKE_COMPILER_IS_GNUCC AND GCCLIBATOMIC_LIBRARY)
set(SIMGRID_DEP "${SIMGRID_DEP} -Wl,--as-needed -latomic -Wl,--no-as-needed")
endif()
set(SIMGRID_DEP "${SIMGRID_DEP} -Wl,--as-needed -latomic -Wl,--no-as-needed")
endif()
-if(enable_model-checking AND
CMAKE_COMPILER_IS_GNUCC AND
(NOT LINKER_VERSION VERSION_LESS "2.30"))
+if(enable_model-checking AND (NOT LINKER_VERSION VERSION_LESS "2.30"))
set(SIMGRID_DEP "${SIMGRID_DEP} -Wl,-znoseparate-code")
endif()
set(SIMGRID_DEP "${SIMGRID_DEP} -Wl,-znoseparate-code")
endif()