CMake: Enable parallel install for CMake itself

This commit is contained in:
Martin Duffy
2025-04-15 10:59:10 -04:00
parent 8b4971ec25
commit 20858ddb29

View File

@@ -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)