mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Fixed Salome compilation problem on Windows by M.Bernhard
This commit is contained in:
parent
c84a97e12f
commit
2fd591b3bb
@ -26,7 +26,7 @@ endif()
|
|||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
# suppress C26812 on VS2019/C++20 (prefer 'enum class' over 'enum')
|
# suppress C26812 on VS2019/C++20 (prefer 'enum class' over 'enum')
|
||||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /fp:precise /wd\"26812\"")
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /fp:precise /wd26812")
|
||||||
# suppress warning on using portable non-secure functions in favor of non-portable secure ones
|
# suppress warning on using portable non-secure functions in favor of non-portable secure ones
|
||||||
add_definitions (-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE)
|
add_definitions (-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE)
|
||||||
else()
|
else()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user