diff options
author | Brad King <brad.king@kitware.com> | 2020-01-16 15:33:41 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-01-16 15:33:48 (GMT) |
commit | 05738b5f21c95c83dbd25bfb4e8bfc1be5be713a (patch) | |
tree | 49c619949293cd44d75883d196692dc6f820e3d1 /Modules | |
parent | c0ac53b90c170e781b085e219dae6cc03cccdfd3 (diff) | |
parent | 97c124e30f530f64fafdc2b3a9decd1bf31bcf9c (diff) | |
download | CMake-05738b5f21c95c83dbd25bfb4e8bfc1be5be713a.zip CMake-05738b5f21c95c83dbd25bfb4e8bfc1be5be713a.tar.gz CMake-05738b5f21c95c83dbd25bfb4e8bfc1be5be713a.tar.bz2 |
Merge topic 'pch_job_pool'
97c124e30f Ninja: Add a separate job pool for PCH creation
ebd0b16ddb vim: Add target_precompile_headers command highlighting
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Cristian Adam <cristian.adam@gmail.com>
Merge-request: !4224
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/Windows-PGI.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-PGI.cmake b/Modules/Platform/Windows-PGI.cmake index ad77e8a..8166240 100644 --- a/Modules/Platform/Windows-PGI.cmake +++ b/Modules/Platform/Windows-PGI.cmake @@ -9,9 +9,10 @@ endif() set(__WINDOWS_COMPILER_PGI 1) # PGI on Windows doesn't support parallel compile processes -if(NOT DEFINED CMAKE_JOB_POOL_LINK OR NOT DEFINED CMAKE_JOB_POOL_COMPILE) +if(NOT DEFINED CMAKE_JOB_POOL_LINK OR NOT DEFINED CMAKE_JOB_POOL_COMPILE OR NOT DEFINED CMAKE_JOB_POOL_PRECOMPILE_HEADER) set(CMAKE_JOB_POOL_LINK PGITaskPool) set(CMAKE_JOB_POOL_COMPILE PGITaskPool) + set(CMAKE_JOB_POOL_PRECOMPILE_HEADER PGITaskPool) get_property(_pgijp GLOBAL PROPERTY JOB_POOLS) if(NOT _pgijp MATCHES "PGITaskPool=") set_property(GLOBAL APPEND PROPERTY JOB_POOLS PGITaskPool=1) |