Browse Source

Merge topic 'install-parallel'

20858ddb29 CMake: Enable parallel install for CMake itself

Acked-by: Kitware Robot <[email protected]>
Merge-request: !10661
Brad King 6 months ago
parent
commit
cf77b8e3d1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      CMakeLists.txt

+ 3 - 0
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)