fixed unbound static lib on mingw as libunbound.dll.a
This commit is contained in:
parent
8c37823d45
commit
9130e411e1
1 changed files with 5 additions and 1 deletions
|
@ -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 a new issue