mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 05:57:45 +00:00
Merge pull request #162 from ShelbyZ/last_warnings
Silence unchecked iterators for server_rest
This commit is contained in:
commit
c6acf51957
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ set_target_properties(server_rest PROPERTIES
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
target_link_libraries (server_rest Common xivdat pthread mysqlclient dl z)
|
target_link_libraries (server_rest Common xivdat pthread mysqlclient dl z)
|
||||||
else()
|
else()
|
||||||
|
# ignore unchecked iterators warnings from msvc
|
||||||
|
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
|
||||||
|
|
||||||
target_link_libraries (server_rest Common xivdat libmysql zlib1)
|
target_link_libraries (server_rest Common xivdat libmysql zlib1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue