diff --git a/Externals/miniupnpc/CMakeLists.txt b/Externals/miniupnpc/CMakeLists.txt index 873924aeb0..dc312e639d 100644 --- a/Externals/miniupnpc/CMakeLists.txt +++ b/Externals/miniupnpc/CMakeLists.txt @@ -18,8 +18,6 @@ if(APPLE) add_definitions(-DMACOSX -D_DARWIN_C_SOURCE) endif() -include_directories(include) - set(SRCS src/igd_desc_parse.c src/miniupnpc.c src/minixml.c @@ -35,4 +33,4 @@ set(SRCS src/igd_desc_parse.c src/receivedata.c) add_library(miniupnpc STATIC ${SRCS}) - +target_include_directories(miniupnpc PUBLIC src)