0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-13 01:50:33 +00:00
termux-packages/packages/monero/external-CMakeLists.txt.patch
2022-11-07 04:54:02 +00:00

21 lines
472 B
Diff

--- a/external/CMakeLists.txt
+++ b/external/CMakeLists.txt
@@ -37,6 +37,9 @@
find_package(Miniupnpc REQUIRED)
+if(MINIUPNPC_FOUND)
+ include_directories(${MINIUPNP_INCLUDE_DIR})
+else()
message(STATUS "Using in-tree miniupnpc")
set(UPNPC_NO_INSTALL TRUE CACHE BOOL "Disable miniupnp installation" FORCE)
add_subdirectory(miniupnp/miniupnpc)
@@ -52,6 +55,7 @@
endif()
set(UPNP_LIBRARIES "libminiupnpc-static" PARENT_SCOPE)
+endif()
find_package(Unbound)