build: cmake: export all symbols on Windows
@@ -54,6 +54,9 @@ endif()
if(WIN32)
target_link_libraries(maxminddb ws2_32)
+ if(BUILD_SHARED_LIBS)
+ set_target_properties(maxminddb PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
+ endif()
endif()
target_include_directories(maxminddb PUBLIC
