Skip to content
Snippets Groups Projects
Commit 0e6730ef authored by Adrien Béraud's avatar Adrien Béraud
Browse files

build/cmake: add private dependencies back

Change-Id: Id95f38453043a2b8daa75918998800bf16eb41c9
parent e0015b5e
Branches
No related tags found
No related merge requests found
......@@ -125,6 +125,7 @@ if (DHTNET_PUPNP AND NOT MSVC)
set(DHTNET_PUPNP Off)
else()
set(upnp_LIBRARIES PkgConfig::upnp)
set (requiresprivate "${requiresprivate} libupnp")
endif()
endif()
if (DHTNET_NATPMP AND NOT MSVC)
......@@ -136,6 +137,7 @@ if (DHTNET_NATPMP AND NOT MSVC)
set(DHTNET_NATPMP Off)
else()
message("NAT-PMP found: ${natpmp_LIBRARIES}")
set (libsprivate "${libsprivate} -lnatpmp")
endif()
endif()
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment