mirror of https://github.com/OpenTTD/OpenTTD
Fix: [Actions] Annotations not shown for MSVC (#9247)
parent
1dfc148613
commit
c0a0d85d20
|
@ -26,8 +26,10 @@ macro(compile_flags)
|
||||||
add_compile_options(/Zc:rvalueCast)
|
add_compile_options(/Zc:rvalueCast)
|
||||||
|
|
||||||
if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||||
# Enable multi-threaded compilation.
|
add_compile_options(
|
||||||
add_compile_options(/MP)
|
/MP # Enable multi-threaded compilation.
|
||||||
|
/FC # Display the full path of source code files passed to the compiler in diagnostics.
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue