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:
parent
0d21b92bb0
commit
8f57220b0f
2
module/Vendor/MaxmindDB/CMakeLists.txt
vendored
2
module/Vendor/MaxmindDB/CMakeLists.txt
vendored
@ -27,6 +27,8 @@ add_library(MaxmindDB STATIC include/maxminddb_config.h.in
|
|||||||
src/data-pool.h src/data-pool.c
|
src/data-pool.h src/data-pool.c
|
||||||
src/maxminddb-compat-util.h
|
src/maxminddb-compat-util.h
|
||||||
)
|
)
|
||||||
|
# Set C standard
|
||||||
|
set_property(TARGET MaxmindDB PROPERTY C_STANDARD 99)
|
||||||
# Configure include folders
|
# Configure include folders
|
||||||
target_include_directories(MaxmindDB PRIVATE ${CMAKE_CURRENT_LIST_DIR})
|
target_include_directories(MaxmindDB PRIVATE ${CMAKE_CURRENT_LIST_DIR})
|
||||||
target_include_directories(MaxmindDB PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
|
target_include_directories(MaxmindDB PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
|
||||||
|
Loading…
Reference in New Issue
Block a user