Changeset - r25437:0fab37ba7fa3
[Not reviewed]
master
0 1 0
Loïc Guilloux - 3 years ago 2021-05-11 19:43:43
glx22@users.noreply.github.com
Fix: [Actions] Annotations not shown for MSVC (#9247)
1 file changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
cmake/CompileFlags.cmake
Show inline comments
 
@@ -26,8 +26,10 @@ macro(compile_flags)
 
        add_compile_options(/Zc:rvalueCast)
 

	
 
        if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
 
            # Enable multi-threaded compilation.
 
            add_compile_options(/MP)
 
            add_compile_options(
 
                /MP # Enable multi-threaded compilation.
 
                /FC # Display the full path of source code files passed to the compiler in diagnostics.
 
            )
 
        endif()
 
    endif()
 

	
0 comments (0 inline, 0 general)