diff options
author | Brad King <brad.king@kitware.com> | 2013-10-21 13:02:09 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-10-21 13:02:09 (GMT) |
commit | 8fa1ceb136dfa6c4d969fe78f4ebb46ae0abe6d0 (patch) | |
tree | 8531d8795cfe4064da99d30920c545316f0ceb18 /Modules/Platform/Windows-MSVC-CXX.cmake | |
parent | 9fb65d7090ca314cd8bfd88e52fefa6905938a6d (diff) | |
parent | 216afc8a818c4f8906b17aefedbc9b9ed60564a8 (diff) | |
download | CMake-8fa1ceb136dfa6c4d969fe78f4ebb46ae0abe6d0.zip CMake-8fa1ceb136dfa6c4d969fe78f4ebb46ae0abe6d0.tar.gz CMake-8fa1ceb136dfa6c4d969fe78f4ebb46ae0abe6d0.tar.bz2 |
Merge topic 'vs12-parallel-cl-FS'
216afc8 MSVC: Add /FS flag for cl >= 18 to allow parallel compilation (#14492)
Diffstat (limited to 'Modules/Platform/Windows-MSVC-CXX.cmake')
-rw-r--r-- | Modules/Platform/Windows-MSVC-CXX.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-MSVC-CXX.cmake b/Modules/Platform/Windows-MSVC-CXX.cmake index fdd1dae..0e85005 100644 --- a/Modules/Platform/Windows-MSVC-CXX.cmake +++ b/Modules/Platform/Windows-MSVC-CXX.cmake @@ -1,3 +1,6 @@ include(Platform/Windows-MSVC) set(_COMPILE_CXX " /TP") +if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 18.0) + set(_FS_CXX " /FS") +endif() __windows_compiler_msvc(CXX) |