ref: 33254c87dd5032b854442c1cf41e5fc52a3e56b8
parent: 295673b813aee028a82b7edd0b9387abe9416a83
author: Clownacy <Clownacy@users.noreply.github.com>
date: Fri Apr 19 13:37:10 EDT 2019
Shut up MSVC's stupid warnings when using the CMake file
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -306,6 +306,9 @@
if (NOT STDINT_EXISTS)
target_include_directories(CSE2 PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/msvc/msvc2003")
endif()
+
+ # Shut up those stupid warnings
+ target_compile_definitions(CSE2 PRIVATE _CRT_SECURE_NO_WARNINGS)
else()
# Find dependencies
if (STATIC)