build: cmake: fix installation of .dll files on Windows
@@ -69,10 +69,7 @@ set(MAXMINDB_HEADERS
set_target_properties(maxminddb PROPERTIES PUBLIC_HEADER "${MAXMINDB_HEADERS}")
install(TARGETS maxminddb
- EXPORT maxminddb
- ARCHIVE DESTINATION lib
- PUBLIC_HEADER DESTINATION include/
-)
+ EXPORT maxminddb)
# This is required to work with FetchContent
install(EXPORT maxminddb
