mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-14 14:37: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:
parent
9c13feb9c5
commit
9aeda0dadc
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue