Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't link this test to pthread
authorChristophe Thiéry <christopho128@gmail.com>
Fri, 22 Apr 2011 15:08:17 +0000 (17:08 +0200)
committerChristophe Thiéry <christopho128@gmail.com>
Fri, 22 Apr 2011 15:08:17 +0000 (17:08 +0200)
buildtools/Cmake/CompleteInFiles.cmake

index d067965..d398e7a 100644 (file)
@@ -84,7 +84,7 @@ CHECK_FUNCTION_EXISTS(makecontext HAVE_MAKECONTEXT)
 CHECK_FUNCTION_EXISTS(mmap HAVE_MMAP)
 
 #Check if __thread is defined
-exec_program("${CMAKE_C_COMPILER} -lpthread ${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/test_prog/prog_thread_storage.c" 
+exec_program("${CMAKE_C_COMPILER} ${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/test_prog/prog_thread_storage.c" 
                        OUTPUT_VARIABLE HAVE_thread_storage_run)
 if(HAVE_thread_storage_run)
        set(HAVE_THREAD_LOCAL_STORAGE 0)