From 03c1f9ec342c626629370ac48b495ffe72bec97f Mon Sep 17 00:00:00 2001 From: Matthias Goldhoorn Date: Thu, 16 Jun 2011 14:45:19 +0200 Subject: [PATCH] Added additional findpath for the Pthread Library The PThread library is at leased at debian package libc6-dev 2.13-7 moved. This Commit adds an additional find_path for the Cmake scripts --- config/FindPthread.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/FindPthread.cmake b/config/FindPthread.cmake index ae6951756..59c5a8dfd 100644 --- a/config/FindPthread.cmake +++ b/config/FindPthread.cmake @@ -35,7 +35,7 @@ if(PTHREAD_ROOT_DIR) else() # Use default CMake search process find_path(PTHREAD_INCLUDE_DIR NAMES ${header_NAME} PATH_SUFFIXES pthread ) - find_library(PTHREAD_LIBRARY NAMES ${pthread_NAME}) + find_library(PTHREAD_LIBRARY NAMES ${pthread_NAME} PATHS /usr/lib/x86_64-linux-gnu/) endif() # Set the include dir variables and the libraries and let libfind_process do the rest.