1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00
SqMod/vendor/MaxmindDB/bin/CMakeLists.txt
Sandu Liviu Catalin fd2a1de107 Backport MaxmindDB.
2021-01-31 18:48:31 +02:00

14 lines
273 B
CMake

# getopt is required by mmdblookup which is not available by default on Windows
if(NOT WIN32)
add_executable(mmdblookup
mmdblookup.c
)
target_link_libraries(mmdblookup maxminddb pthread)
install(
TARGETS mmdblookup
RUNTIME DESTINATION bin
)
endif()