Do not build mmdblookup on Windows
It currently requires getopt.
@@ -56,19 +56,18 @@ install(
ARCHIVE DESTINATION lib
)
+if(NOT WIN32)
add_executable(mmdblookup
bin/mmdblookup.c
)
target_link_libraries(mmdblookup maxminddb pthread)
-if(NOT WIN32)
- target_link_libraries(mmdblookup pthread)
-endif()
install(
TARGETS mmdblookup
RUNTIME DESTINATION bin
)
+endif()
add_library(tap
t/libtap/tap.c
