diff options
author | Riccardo Spagni <ric@spagni.net> | 2014-10-02 15:49:18 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-10-02 18:54:55 +0200 |
commit | 9130e411e12d923b33c14a09c21b2e23fae231ba (patch) | |
tree | 7a9b75de6c9ce3461d5c0c9184bedac03f0ead6c /cmake/FindUnbound.cmake | |
parent | remove pthreads, successfully tested on gcc 4.9.1 without pthreads (diff) | |
download | monero-9130e411e12d923b33c14a09c21b2e23fae231ba.tar.xz |
fixed unbound static lib on mingw as libunbound.dll.a
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 6c3d15eae..032bcf45e 100644 --- a/cmake/FindUnbound.cmake +++ b/cmake/FindUnbound.cmake @@ -38,7 +38,11 @@ FIND_PATH(UNBOUND_INCLUDE_DIR ) if(STATIC) - find_library(UNBOUND_LIBRARIES libunbound.a) + if(MINGW) + find_library(UNBOUND_LIBRARIES libunbound.dll.a) + else() + find_library(UNBOUND_LIBRARIES libunbound.a) + endif() else() find_library(UNBOUND_LIBRARIES unbound) endif() |