Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[cmake] cleanups in the Lua detection
[simgrid.git] / tools / cmake / CompleteInFiles.cmake
index ed50629..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)
@@ -159,9 +159,6 @@ else()
 endif()
 
 CHECK_INCLUDE_FILES("stdlib.h;stdarg.h;string.h;float.h" STDC_HEADERS)
-if(NOT WIN32)
-  CHECK_INCLUDE_FILE("pthread.h" HAVE_PTHREAD_H)
-endif()
 CHECK_INCLUDE_FILE("valgrind/valgrind.h" HAVE_VALGRIND_VALGRIND_H)
 CHECK_INCLUDE_FILE("socket.h" HAVE_SOCKET_H)
 CHECK_INCLUDE_FILE("stat.h" HAVE_STAT_H)