From: ana Date: Mon, 9 Dec 2013 14:40:29 +0000 (+0000) Subject: WIN32/WIN64: fix error during activation PARAVIS module X-Git-Tag: V7_3_0~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=27d0ef1f99d1c19e669bc217de27da06cbf3c9b2;p=modules%2Fparavis.git WIN32/WIN64: fix error during activation PARAVIS module --- 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