miniupnpc: use correct include dirs for cmake

This commit is contained in:
Michael M 2017-08-14 15:13:12 -07:00
parent 4e40fad248
commit b8ead9b8a9
1 changed files with 1 additions and 3 deletions

View File

@ -18,8 +18,6 @@ if(APPLE)
add_definitions(-DMACOSX -D_DARWIN_C_SOURCE) add_definitions(-DMACOSX -D_DARWIN_C_SOURCE)
endif() endif()
include_directories(include)
set(SRCS src/igd_desc_parse.c set(SRCS src/igd_desc_parse.c
src/miniupnpc.c src/miniupnpc.c
src/minixml.c src/minixml.c
@ -35,4 +33,4 @@ set(SRCS src/igd_desc_parse.c
src/receivedata.c) src/receivedata.c)
add_library(miniupnpc STATIC ${SRCS}) add_library(miniupnpc STATIC ${SRCS})
target_include_directories(miniupnpc PUBLIC src)