fix msvc crt deprication warnings
This commit is contained in:
@ -2,4 +2,4 @@
|
|||||||
add_library(IACore STATIC imp/cpp/dummy.cpp)
|
add_library(IACore STATIC imp/cpp/dummy.cpp)
|
||||||
|
|
||||||
target_include_directories(IACore PUBLIC inc/hpp imp/inl)
|
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)
|
||||||
|
|||||||
@ -28,7 +28,6 @@
|
|||||||
#include <initializer_list>
|
#include <initializer_list>
|
||||||
|
|
||||||
#if defined (_MSC_VER )
|
#if defined (_MSC_VER )
|
||||||
#define _CRT_SECURE_NO_WARNINGS
|
|
||||||
#if !defined(__clang__)
|
#if !defined(__clang__)
|
||||||
#error "IA software does not support compilation with MSVC. Please use Clang on Windows platforms."
|
#error "IA software does not support compilation with MSVC. Please use Clang on Windows platforms."
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user