diff options
author | selsta <selsta@sent.at> | 2021-01-12 14:00:42 +0100 |
---|---|---|
committer | selsta <selsta@sent.at> | 2021-08-29 18:17:41 +0200 |
commit | 58892be4adcafbc19e2442d073f27d5f9bd9482d (patch) | |
tree | ea80306e1695e5dc422f21fbd2e0e328b4fa4c24 /external/CMakeLists.txt | |
parent | Merge pull request #7894 (diff) | |
download | monero-58892be4adcafbc19e2442d073f27d5f9bd9482d.tar.xz |
miniupnp: set submodule to upstream, disable install
Diffstat (limited to 'external/CMakeLists.txt')
-rw-r--r-- | external/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index a8916a7d0..7ae4ba750 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -38,8 +38,10 @@ find_package(Miniupnpc REQUIRED) message(STATUS "Using in-tree miniupnpc") +set(UPNPC_NO_INSTALL TRUE CACHE BOOL "Disable miniupnp installation" FORCE) add_subdirectory(miniupnp/miniupnpc) set_property(TARGET libminiupnpc-static PROPERTY FOLDER "external") +set_property(TARGET libminiupnpc-static PROPERTY POSITION_INDEPENDENT_CODE ON) if(MSVC) set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -wd4244 -wd4267") elseif(NOT MSVC) |