From 20858ddb29cbfef3c17649838bf864bad01cf66f Mon Sep 17 00:00:00 2001 From: Martin Duffy Date: Tue, 15 Apr 2025 10:59:10 -0400 Subject: [PATCH] CMake: Enable parallel install for CMake itself --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4c041d5699..cab0fcba38 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,6 +100,9 @@ configure_file(Utilities/std/cmSTL.hxx.in Utilities/cmSTL.hxx @ONLY) # set the internal encoding of CMake to UTF-8 set(KWSYS_ENCODING_DEFAULT_CODEPAGE CP_UTF8) +# enable parallel install +set_property(GLOBAL PROPERTY INSTALL_PARALLEL ON) + # option to use COMPONENT with install command option(CMake_INSTALL_COMPONENTS "Using components when installing" OFF) mark_as_advanced(CMake_INSTALL_COMPONENTS)