]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
WIN32/WIN64: fix error during activation PARAVIS module
authorana <ana@opencascade.com>
Mon, 9 Dec 2013 14:40:29 +0000 (14:40 +0000)
committerana <ana@opencascade.com>
Mon, 9 Dec 2013 14:40:29 +0000 (14:40 +0000)
src/Plugins/CMakeLists.txt

index 0312b37f3ed90a21abcef758e390f601b6b8c7bd..9a4bd3bab2727398ecc6f987e0f6050a4dec965b 100755 (executable)
 
 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