fixed unbound static lib on mingw as libunbound.dll.a
This commit is contained in:
parent
bba217a2a6
commit
6b9a7fcd67
|
@ -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…
Reference in New Issue