X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/accbb26253815c4e7c3332dca4362bc22437762a..16ebfb908ef8f9a596e096d318ed109018df7e4e:/tools/cmake/CompleteInFiles.cmake diff --git a/tools/cmake/CompleteInFiles.cmake b/tools/cmake/CompleteInFiles.cmake index 0a5cc35656..ec65572283 100644 --- a/tools/cmake/CompleteInFiles.cmake +++ b/tools/cmake/CompleteInFiles.cmake @@ -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)