mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
fix compiling
compiling was broken due to some spdlog warnings being treated as errors incorrectly
This commit is contained in:
parent
0dc2e110a6
commit
14e19f38ef
@ -26,6 +26,9 @@
|
||||
#include "thirdparty/imgui/backends/imgui_impl_win32.h"
|
||||
#endif // !DEDICATED && !NETCONSOLE && !PLUGINSDK
|
||||
|
||||
|
||||
#pragma warning(push)
|
||||
#pragma warning( disable : 4505 )
|
||||
#include "thirdparty/spdlog/spdlog.h"
|
||||
#include "thirdparty/spdlog/async.h"
|
||||
#include "thirdparty/spdlog/sinks/ostream_sink.h"
|
||||
@ -34,6 +37,7 @@
|
||||
#include "thirdparty/spdlog/sinks/stdout_color_sinks.h"
|
||||
#include "thirdparty/spdlog/sinks/ansicolor_sink.h"
|
||||
#include "thirdparty/spdlog/sinks/rotating_file_sink.h"
|
||||
#pragma warning(pop)
|
||||
|
||||
// Tier0 includes.
|
||||
#include "tier0/utility.h"
|
||||
|
1
r5dev/thirdparty/imgui/CMakeLists.txt
vendored
1
r5dev/thirdparty/imgui/CMakeLists.txt
vendored
@ -36,4 +36,5 @@ add_sources( SOURCE_GROUP "Misc"
|
||||
)
|
||||
|
||||
end_sources()
|
||||
thirdparty_suppress_warnings()
|
||||
target_compile_definitions( ${PROJECT_NAME} PRIVATE BUILDING_LIBIMGUI )
|
||||
|
Loading…
x
Reference in New Issue
Block a user