From 27d0ef1f99d1c19e669bc217de27da06cbf3c9b2 Mon Sep 17 00:00:00 2001 From: ana Date: Mon, 9 Dec 2013 14:40:29 +0000 Subject: [PATCH] WIN32/WIN64: fix error during activation PARAVIS module --- src/Plugins/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Plugins/CMakeLists.txt b/src/Plugins/CMakeLists.txt index 0312b37f..9a4bd3ba 100755 --- a/src/Plugins/CMakeLists.txt +++ b/src/Plugins/CMakeLists.txt @@ -19,6 +19,13 @@ INCLUDE(${PARAVIEW_USE_FILE}) +IF(WIN32) + REMOVE_DEFINITIONS(-D_SECURE_SCL=0 -D_SECURE_SCL_THROWS=0) + IF(NOT CMAKE_BUILD_TYPE STREQUAL "RELEASE" AND NOT CMAKE_BUILD_TYPE STREQUAL "Release") + REMOVE_DEFINITIONS(-D_HAS_ITERATOR_DEBUGGING=0) + ENDIF() +ENDIF() + SET(_subdirs #Filter #ToolBar -- 2.39.2