Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove hardcoded value.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 11 Jan 2019 08:26:00 +0000 (09:26 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 11 Jan 2019 10:11:35 +0000 (11:11 +0100)
CMakeLists.txt

index d2a9568..fb60a44 100644 (file)
@@ -285,8 +285,6 @@ endif()
 
 # Checks for header libraries functions.
 CHECK_LIBRARY_EXISTS(rt      clock_gettime           "" HAVE_POSIX_GETTIME)
 
 # Checks for header libraries functions.
 CHECK_LIBRARY_EXISTS(rt      clock_gettime           "" HAVE_POSIX_GETTIME)
-
-set(HAVE_PTHREAD_SETAFFINITY 0)
 CHECK_LIBRARY_EXISTS(pthread pthread_setaffinity_np  "" HAVE_PTHREAD_SETAFFINITY)
 
 if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
 CHECK_LIBRARY_EXISTS(pthread pthread_setaffinity_np  "" HAVE_PTHREAD_SETAFFINITY)
 
 if(CMAKE_SYSTEM_NAME MATCHES "Darwin")