Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
this is needed also with clang
authorAugustin Degomme <degomme@wasabi>
Thu, 23 Aug 2018 09:42:01 +0000 (11:42 +0200)
committerAugustin Degomme <degomme@wasabi>
Thu, 23 Aug 2018 09:42:01 +0000 (11:42 +0200)
tools/cmake/MakeLib.cmake

index 24b8b07..1a92e35 100644 (file)
@@ -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()
 
-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()