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:
parent
6134b7006c
commit
e8b25f1562
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