mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 16:57:16 +01:00
14 lines
273 B
CMake
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()
|