Browse Source

miniupnpc cmake

cl-refactor
Marek Kotewicz 10 years ago
parent
commit
e88f8e72ed
  1. 2
      extdep/CMakeLists.txt
  2. 11
      extdep/miniupnpc.cmake

2
extdep/CMakeLists.txt

@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 3.0)
include(cryptopp.cmake)
include(miniupnpc.cmake)

11
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 ""
)
Loading…
Cancel
Save