diff options
author | Riccardo Spagni <ric@spagni.net> | 2014-10-02 15:03:27 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-10-02 18:54:55 +0200 |
commit | 8c37823d45383bf7db333d699759e7df1c22631c (patch) | |
tree | 56081710e0140a356088a18ff4072161ae232c53 /cmake/FindUnbound.cmake | |
parent | Merge pull request #165 (diff) | |
download | monero-8c37823d45383bf7db333d699759e7df1c22631c.tar.xz |
remove pthreads, successfully tested on gcc 4.9.1 without pthreads
Diffstat (limited to 'cmake/FindUnbound.cmake')
-rw-r--r-- | cmake/FindUnbound.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmake/FindUnbound.cmake b/cmake/FindUnbound.cmake index af3382fff..6c3d15eae 100644 --- a/cmake/FindUnbound.cmake +++ b/cmake/FindUnbound.cmake @@ -37,7 +37,11 @@ FIND_PATH(UNBOUND_INCLUDE_DIR /usr/ ) -find_library(UNBOUND_LIBRARIES unbound) +if(STATIC) + find_library(UNBOUND_LIBRARIES libunbound.a) +else() + find_library(UNBOUND_LIBRARIES unbound) +endif() IF(UNBOUND_INCLUDE_DIR) MESSAGE(STATUS "Found libunbound include (unbound.h) in ${UNBOUND_INCLUDE_DIR}") |