From 4256977400ad5c578bb52f0a3bc0ef5fbf0589b3 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Mon, 17 Oct 2022 12:21:27 +0200 Subject: [PATCH] remove crt's "this function or variable may be unsafe" warnings they are useless, as they are in dependencies or parts of the code we don't care about. Also, the "safe" alternatives straightup dont work on linux. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 34cac15..95bf609 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -139,6 +139,7 @@ set(BeamMP_Includes set(BeamMP_Definitions SECRET_SENTRY_URL="${BEAMMP_SECRET_SENTRY_URL}" + _CRT_SECURE_NO_WARNINGS ) if (UNIX)