Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sthread does not exist on FreeBSD so don't break MC builds there
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 24 Jun 2022 21:23:38 +0000 (23:23 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 24 Jun 2022 21:23:38 +0000 (23:23 +0200)
tools/cmake/MakeLib.cmake

index f5d906c..fdd596b 100644 (file)
@@ -47,7 +47,9 @@ if(enable_model-checking)
   install(TARGETS simgrid-mc # install that binary without breaking the rpath on Mac
     RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}/)
   add_dependencies(tests-mc simgrid-mc)
-  add_dependencies(tests-mc sthread)
+  if("${CMAKE_SYSTEM}" MATCHES "Linux")
+    add_dependencies(tests-mc sthread)
+  endif()
 endif()
 
 # Compute the dependencies of SimGrid