From 09f40cf9a9799916ff5d062f3de3f92a14d1f2c5 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 22 Dec 2020 02:35:57 -0500 Subject: get rid of some warnings --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 94414f9..ca85542 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,6 +65,10 @@ if(mingw) link_libraries(ws2_32 wsock2) endif() +if(WIN32) + add_compile_definitions(_CRT_SECURE_NO_WARNINGS) +endif() + file(GLOB ABADDON_SOURCES "*.h" "*.hpp" -- cgit v1.2.3