diff options
author | Riccardo Spagni <ric@spagni.net> | 2014-10-02 15:03:27 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-10-02 15:03:27 +0200 |
commit | bba217a2a60ae67bbf1f3052abdf7924f3c95d3d (patch) | |
tree | b47bd200f1a5dcdf23a8c6e43c2ee9c8a5a33bcf /cmake/FindUnbound.cmake | |
parent | simplewallet ignoring testnet port in RPC mode (diff) | |
download | monero-bba217a2a60ae67bbf1f3052abdf7924f3c95d3d.tar.xz |
remove pthreads, successfully tested on gcc 4.9.1 without pthreads
Diffstat (limited to '')
-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}") |