Completed the interface of ixml
@@ -31,9 +31,9 @@ TARGET_COMPILE_DEFINITIONS (ixml_shared
TARGET_INCLUDE_DIRECTORIES (ixml_shared
PRIVATE ${UPNP_BINARY_DIR}/
- PRIVATE ${UPNP_SOURCE_DIR}/upnp/inc/
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/inc/>
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/inc/>
+ PUBLIC $<BUILD_INTERFACE:${UPNP_SOURCE_DIR}/upnp/inc/>
)
LIST (APPEND IXML_HEADERS
@@ -68,8 +68,8 @@ SET_TARGET_PROPERTIES(ixml_static PROPERTIES
)
TARGET_COMPILE_DEFINITIONS (ixml_static
- PRIVATE UPNP_STATIC_LIB
PRIVATE $<$<BOOL:${script_support}>:IXML_HAVE_SCRIPTSUPPORT>
+ PUBLIC UPNP_STATIC_LIB
PUBLIC $<$<BOOL:${MSVC}>:UPNP_USE_MSVCPP>
PUBLIC $<IF:$<CONFIG:Debug>,DEBUG,NDEBUG>
)
@@ -82,9 +82,9 @@ ENDIF (script_support)
TARGET_INCLUDE_DIRECTORIES (ixml_static
PRIVATE ${UPNP_BINARY_DIR}/
- PRIVATE ${UPNP_SOURCE_DIR}/upnp/inc/
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/inc/>
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/inc/>
+ PUBLIC $<BUILD_INTERFACE:${UPNP_SOURCE_DIR}/upnp/inc/>
)
INSTALL (TARGETS ixml_static
