1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00

Enable C99 for libmaxminddb.

This commit is contained in:
Sandu Liviu Catalin 2020-03-22 18:43:32 +02:00
parent 0d21b92bb0
commit 8f57220b0f

View File

@ -27,6 +27,8 @@ add_library(MaxmindDB STATIC include/maxminddb_config.h.in
src/data-pool.h src/data-pool.c
src/maxminddb-compat-util.h
)
# Set C standard
set_property(TARGET MaxmindDB PROPERTY C_STANDARD 99)
# Configure include folders
target_include_directories(MaxmindDB PRIVATE ${CMAKE_CURRENT_LIST_DIR})
target_include_directories(MaxmindDB PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)