diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/CompileFlags.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cmake/CompileFlags.cmake b/cmake/CompileFlags.cmake index 86d336b59..2f7528fe3 100644 --- a/cmake/CompileFlags.cmake +++ b/cmake/CompileFlags.cmake @@ -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() |