fixed unbound static lib on mingw as libunbound.dll.a

pull/95/head
Riccardo Spagni 10 years ago
parent bba217a2a6
commit 6b9a7fcd67
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

@ -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()

Loading…
Cancel
Save