diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-12-30 10:00:50 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-12-30 10:00:50 +0200 |
commit | bd8e0fd2a11efe8c0e92ac3a8b8373b87a93ed95 (patch) | |
tree | 2e6e0a1dba09939058f9ad930ce2fc3963777631 /external/miniupnpc/CMakeLists.txt | |
parent | updated miniupnpc (diff) | |
download | monero-bd8e0fd2a11efe8c0e92ac3a8b8373b87a93ed95.tar.xz |
add missing miniupnpc files, modify cmake to not build miniupnpc tests and to fix an issue with finding miniupnpcstrings
Diffstat (limited to 'external/miniupnpc/CMakeLists.txt')
-rw-r--r-- | external/miniupnpc/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/external/miniupnpc/CMakeLists.txt b/external/miniupnpc/CMakeLists.txt index dacb1f692..f6cf592af 100644 --- a/external/miniupnpc/CMakeLists.txt +++ b/external/miniupnpc/CMakeLists.txt @@ -18,7 +18,7 @@ endif() option (UPNPC_BUILD_STATIC "Build static library" TRUE) option (UPNPC_BUILD_SHARED "Build shared library" TRUE) if (NOT WIN32) - option (UPNPC_BUILD_TESTS "Build test executables" TRUE) + option (UPNPC_BUILD_TESTS "Build test executables" FALSE) endif (NOT WIN32) option (NO_GETADDRINFO "Define NO_GETADDRINFO" FALSE) @@ -62,7 +62,7 @@ if (CMAKE_COMPILER_IS_GNUC) endif (NOT CONFIGURED) endif () -configure_file (${CMAKE_SOURCE_DIR}/miniupnpcstrings.h.cmake ${CMAKE_BINARY_DIR}/miniupnpcstrings.h) +configure_file (miniupnpcstrings.h.cmake ${CMAKE_BINARY_DIR}/miniupnpcstrings.h) include_directories (${CMAKE_BINARY_DIR}) set (MINIUPNPC_SOURCES |