Forgot UPNP_HAVE_DEBUG while removing the separation of the headers.
@@ -91,7 +91,7 @@ ADD_LIBRARY (UPNP::SHARED ALIAS upnp_shared)
TARGET_COMPILE_DEFINITIONS (upnp_shared
PRIVATE $<$<CONFIG:Debug>:STATS>
- PUBLIC $<IF:$<CONFIG:Debug>,DEBUG,NDEBUG>
+ PUBLIC $<IF:$<CONFIG:Debug>,DEBUG UPNP_HAVE_DEBUG,NDEBUG>
)
TARGET_INCLUDE_DIRECTORIES (upnp_shared
@@ -189,7 +189,7 @@ ADD_LIBRARY (UPNP::STATIC ALIAS upnp_static)
TARGET_COMPILE_DEFINITIONS (upnp_static
PRIVATE UPNP_STATIC_LIB
PRIVATE $<$<CONFIG:Debug>:STATS>
- PUBLIC $<IF:$<CONFIG:Debug>,DEBUG,NDEBUG>
+ PUBLIC $<IF:$<CONFIG:Debug>,DEBUG UPNP_HAVE_DEBUG,NDEBUG>
)
TARGET_INCLUDE_DIRECTORIES (upnp_static
