mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
CMake: update new location of in-tree miniupnpc
This commit is contained in:
parent
c7b66d3d8c
commit
9e1f8bfaa3
2 changed files with 5 additions and 5 deletions
4
external/CMakeLists.txt
vendored
4
external/CMakeLists.txt
vendored
|
@ -55,10 +55,10 @@ else()
|
|||
if(STATIC)
|
||||
message(STATUS "Using miniupnpc from local source tree for static build")
|
||||
else()
|
||||
message(STATUS "Using miniupnpc from local source tree (/external/miniupnpc)")
|
||||
message(STATUS "Using miniupnpc from local source tree (/external/miniupnp/miniupnpc)")
|
||||
endif()
|
||||
|
||||
add_subdirectory(miniupnpc)
|
||||
add_subdirectory(miniupnp/miniupnpc)
|
||||
|
||||
set_property(TARGET libminiupnpc-static PROPERTY FOLDER "external")
|
||||
if(MSVC)
|
||||
|
|
|
@ -51,9 +51,9 @@
|
|||
|
||||
// We have to look for miniupnpc headers in different places, dependent on if its compiled or external
|
||||
#ifdef UPNP_STATIC
|
||||
#include <miniupnpc/miniupnpc.h>
|
||||
#include <miniupnpc/upnpcommands.h>
|
||||
#include <miniupnpc/upnperrors.h>
|
||||
#include <miniupnp/miniupnpc/miniupnpc.h>
|
||||
#include <miniupnp/miniupnpc/upnpcommands.h>
|
||||
#include <miniupnp/miniupnpc/upnperrors.h>
|
||||
#else
|
||||
#include "miniupnpc.h"
|
||||
#include "upnpcommands.h"
|
||||
|
|
Loading…
Reference in a new issue