From e88f8e72ed5cd5273452dd96272a711a9dbb2641 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Wed, 5 Nov 2014 12:14:49 +0100 Subject: [PATCH] miniupnpc cmake --- extdep/CMakeLists.txt | 2 ++ extdep/miniupnpc.cmake | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 extdep/miniupnpc.cmake diff --git a/extdep/CMakeLists.txt b/extdep/CMakeLists.txt index 8ee232835..bcf906661 100644 --- a/extdep/CMakeLists.txt +++ b/extdep/CMakeLists.txt @@ -1,3 +1,5 @@ cmake_minimum_required(VERSION 3.0) include(cryptopp.cmake) +include(miniupnpc.cmake) + diff --git a/extdep/miniupnpc.cmake b/extdep/miniupnpc.cmake new file mode 100644 index 000000000..ae79f6369 --- /dev/null +++ b/extdep/miniupnpc.cmake @@ -0,0 +1,11 @@ +include(ExternalProject) + +ExternalProject_Add(miniupnpc + URL http://miniupnp.tuxfamily.org/files/download.php?file=miniupnpc-1.9.20141027.tar.gz + BINARY_DIR miniupnpc-prefix/src/miniupnpc + CONFIGURE_COMMAND "" + BUILD_COMMAND make -j 3 + INSTALL_COMMAND "" + ) + +