From deb5d33643b291a9f27a0ac0d3fbd3bc4385f5ed Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Wed, 25 Jul 2018 12:42:40 +0200 Subject: [PATCH] Multithread compilation of Dawn targets on MSVC --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d2f4024990..d6ac0c2858 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -99,6 +99,7 @@ endif() if (MSVC) list(APPEND DAWN_FLAGS "/std:c++14") list(APPEND DAWN_FLAGS "/EHsc") + list(APPEND DAWN_FLAGS "/MP") list(APPEND DAWN_INTERNAL_FLAGS "/W4") # Allow declarations hiding members as it is used all over Dawn list(APPEND DAWN_INTERNAL_FLAGS "/wd4458")