miniupnpc: use correct include dirs for cmake
This commit is contained in:
parent
4e40fad248
commit
b8ead9b8a9
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue