Let the shared libs export their symbols.
@@ -89,6 +89,10 @@ ADD_LIBRARY (upnp_shared SHARED
ADD_LIBRARY (UPNP::SHARED ALIAS upnp_shared)
+SET_TARGET_PROPERTIES (upnp_shared PROPERTIES
+ WINDOWS_EXPORT_ALL_SYMBOLS TRUE
+)
+
TARGET_COMPILE_DEFINITIONS (upnp_shared
PRIVATE $<$<CONFIG:Debug>:STATS>
PUBLIC $<IF:$<CONFIG:Debug>,DEBUG UPNP_HAVE_DEBUG,NDEBUG>
