Skip to content

Commit

Permalink
Added additional findpath for the Pthread Library
Browse files Browse the repository at this point in the history
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
  • Loading branch information
goldhoorn authored and mboukamp committed Jun 16, 2011
1 parent 4e3221c commit 03c1f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/FindPthread.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 03c1f9e

Please sign in to comment.