Find miniupnpc library as well as header

This commit is contained in:
Dmitry Marakasov 2016-08-19 12:16:28 +03:00
parent 3d066ea1b8
commit 959843ee9c
2 changed files with 8 additions and 5 deletions

View file

@ -357,7 +357,7 @@ if (WITH_BINARY)
endif ()
if (WITH_UPNP)
target_link_libraries("${PROJECT_NAME}" "miniupnpc")
target_link_libraries("${PROJECT_NAME}" "${MINIUPNPC_LIBRARY}")
endif ()
# FindBoost pulls pthread for thread which is broken for static linking at least on Ubuntu 15.04