mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
14 lines
265 B
CMake
14 lines
265 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
|
|
DESTINATION bin
|
|
)
|
|
endif()
|