fix msvc crt deprication warnings

This commit is contained in:
Isuru Samarathunga
2025-07-08 13:42:28 +05:30
parent 599e94594a
commit f2e6cee915
2 changed files with 1 additions and 2 deletions

View File

@ -2,4 +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)
target_compile_definitions(IACore PUBLIC _CRT_SECURE_NO_WARNINGS)

View File

@ -28,7 +28,6 @@
#include <initializer_list>
#if defined (_MSC_VER )
#define _CRT_SECURE_NO_WARNINGS
#if !defined(__clang__)
#error "IA software does not support compilation with MSVC. Please use Clang on Windows platforms."
#endif