diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-09-09 15:21:50 -0400 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-09-09 15:21:50 -0400 |
commit | 665bd8933a7a00d21f983a9e89c1706692dc3015 (patch) | |
tree | 49e5e98c5c99e34123cff1bed3bf979bb8ec3056 /external/CMakeLists.txt | |
parent | Merge pull request #7902 (diff) | |
parent | miniupnp: set submodule to upstream, disable install (diff) | |
download | monero-665bd8933a7a00d21f983a9e89c1706692dc3015.tar.xz |
Merge pull request #7906
58892be miniupnp: set submodule to upstream, disable install (selsta)
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) |