mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-17 23:57:14 +02:00
Backport MaxmindDB.
This commit is contained in:
13
vendor/MaxmindDB/bin/CMakeLists.txt
vendored
Normal file
13
vendor/MaxmindDB/bin/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
# 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()
|
Reference in New Issue
Block a user