diff options
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() |