Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove 51 from the name of FindLua51Simgrid: we now need v5.3, not v5.1
[simgrid.git] / tools / cmake / CompleteInFiles.cmake
index 0a5cc35..ec65572 100644 (file)
@@ -96,7 +96,7 @@ if(enable_scala)
   set(HAVE_Scala 1)
 endif()
 if(enable_lua)
-  include(FindLua51Simgrid)
+  include(FindLuaSimgrid)
 endif()
 
 set(HAVE_NS3 0)
@@ -142,9 +142,7 @@ endif()
 # Checks for header libraries functions.
 CHECK_LIBRARY_EXISTS(dl      dlopen                  "" HAVE_DLOPEN_IN_LIBDL)
 CHECK_LIBRARY_EXISTS(execinfo backtrace              "" HAVE_BACKTRACE_IN_LIBEXECINFO)
-if(NOT WIN32)
-  CHECK_LIBRARY_EXISTS(pthread pthread_create          "" HAVE_PTHREAD)
-endif()
+CHECK_LIBRARY_EXISTS(pthread pthread_create          "" HAVE_PTHREAD)
 CHECK_LIBRARY_EXISTS(pthread sem_init                "" HAVE_SEM_INIT_LIB)
 CHECK_LIBRARY_EXISTS(pthread sem_open                "" HAVE_SEM_OPEN_LIB)
 CHECK_LIBRARY_EXISTS(pthread sem_timedwait           "" HAVE_SEM_TIMEDWAIT_LIB)