Salome HOME
projects
/
modules
/
paravis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a57db8
)
WIN32/WIN64: fix error during activation PARAVIS module
author
ana
<ana@opencascade.com>
Mon, 9 Dec 2013 14:40:29 +0000
(14:40 +0000)
committer
ana
<ana@opencascade.com>
Mon, 9 Dec 2013 14:40:29 +0000
(14:40 +0000)
src/Plugins/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/Plugins/CMakeLists.txt
b/src/Plugins/CMakeLists.txt
index 0312b37f3ed90a21abcef758e390f601b6b8c7bd..9a4bd3bab2727398ecc6f987e0f6050a4dec965b 100755
(executable)
--- 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