removed required flags from miniupnp and unbound

This commit is contained in:
Riccardo Spagni 2014-10-06 18:51:03 +02:00
parent 6b7ac4b37f
commit 735a017bb3
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -35,7 +35,7 @@
# ...except for FreeBSD, because FreeBSD is a special case that doesn't play well with # ...except for FreeBSD, because FreeBSD is a special case that doesn't play well with
# others. # others.
find_package(MiniUpnpc REQUIRED) find_package(MiniUpnpc)
# FreeBSD doesn't play well with the local copy, so default to using shared # FreeBSD doesn't play well with the local copy, so default to using shared
SET(USE_SHARED_MINIUPNPC true) SET(USE_SHARED_MINIUPNPC true)
@ -74,7 +74,7 @@ else()
set(UPNP_LIBRARIES "upnpc-static" PARENT_SCOPE) set(UPNP_LIBRARIES "upnpc-static" PARENT_SCOPE)
endif() endif()
find_package(Unbound REQUIRED) find_package(Unbound)
IF(!UNBOUND_INCLUDE_DIR OR STATIC) IF(!UNBOUND_INCLUDE_DIR OR STATIC)
if(STATIC) if(STATIC)