diff options
author | Riccardo Spagni <ric@spagni.net> | 2014-10-02 15:49:18 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-10-02 15:49:18 +0200 |
commit | 6b9a7fcd67f1f39ba1a22a39de55ef60ff6dde26 (patch) | |
tree | 1d2dd49d68c34902ef1e47f9982ed993c3b23fbb /cmake/FindUnbound.cmake | |
parent | remove pthreads, successfully tested on gcc 4.9.1 without pthreads (diff) | |
download | monero-6b9a7fcd67f1f39ba1a22a39de55ef60ff6dde26.tar.xz |
fixed unbound static lib on mingw as libunbound.dll.a
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 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() |