diff --git a/Src/IACore/CMakeLists.txt b/Src/IACore/CMakeLists.txt index c516c62..6799b23 100644 --- a/Src/IACore/CMakeLists.txt +++ b/Src/IACore/CMakeLists.txt @@ -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) diff --git a/Src/IACore/inc/hpp/iacore/definitions.hpp b/Src/IACore/inc/hpp/iacore/definitions.hpp index cf2b8bd..02ad0ac 100644 --- a/Src/IACore/inc/hpp/iacore/definitions.hpp +++ b/Src/IACore/inc/hpp/iacore/definitions.hpp @@ -28,7 +28,6 @@ #include #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