From 599e94594af2eca71d50e86f36859728773e39f1 Mon Sep 17 00:00:00 2001 From: Isuru Samarathunga Date: Tue, 8 Jul 2025 13:40:14 +0530 Subject: [PATCH] fix msvc crt deprication warnings --- Src/IACore/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Src/IACore/CMakeLists.txt b/Src/IACore/CMakeLists.txt index ab59054..c516c62 100644 --- a/Src/IACore/CMakeLists.txt +++ b/Src/IACore/CMakeLists.txt @@ -2,3 +2,4 @@ add_library(IACore STATIC imp/cpp/dummy.cpp) target_include_directories(IACore PUBLIC inc/hpp imp/inl) +target_compile_definitions(IACORE PUBLIC _CRT_SECURE_NO_WARNINGS)