1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 22:57:45 +00:00

Silence unchecked iterators for server_rest

- couldnt't find a better way to find the subpath or a root
- can't pass other iter length or it fails to view them as main and
subdir
This commit is contained in:
ShelbyZ 2017-10-30 19:11:54 -07:00
parent 6134b7006c
commit e8b25f1562

View file

@ -22,6 +22,9 @@ set_target_properties(server_rest PROPERTIES
if (UNIX)
target_link_libraries (server_rest Common xivdat pthread mysqlclient dl z)
else()
# ignore unchecked iterators warnings from msvc
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
target_link_libraries (server_rest Common xivdat libmysql zlib1)
endif()