Added compilation flag (#15436)

This commit is contained in:
Georgy Krivoruchko 2023-03-24 07:09:29 +04:00 committed by GitHub
parent 1b89ecdbae
commit 7601e8a874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -389,6 +389,8 @@ if(WIN32)
ie_add_compiler_flags(/Qdiag-disable:161,177,556,1744,1879,2586,2651,3180,11075,15335)
endif()
ie_add_compiler_flags(/Qspectre)
# Debug information flags, by default CMake adds /Zi option
# but provides no way to specify CMAKE_COMPILE_PDB_NAME on root level
# In order to avoid issues with ninja we are replacing default flag instead of having two of them