diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst index d757263e22..9b87f6c22a 100644 --- a/Help/command/find_package.rst +++ b/Help/command/find_package.rst @@ -116,7 +116,7 @@ The command has a few modes by which it searches for packages: A call to ``find_package()`` can be redirected internally to a package provided by the :module:`FetchContent` module. To the caller, the behavior will appear similar to Config mode, except that the search logic is - by-passed and the component information is not used. See + bypassed and the component information is not used. See :command:`FetchContent_Declare` and :command:`FetchContent_MakeAvailable` for further details. diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx index 054afe14d2..25934a2f93 100644 --- a/Source/cmFindPackageCommand.cxx +++ b/Source/cmFindPackageCommand.cxx @@ -1246,7 +1246,7 @@ bool cmFindPackageCommand::FindPackage( // When this property is set, the FetchContent module has already been // included at least once, so we know the FetchContent_MakeAvailable() // command will be defined. Any future find_package() calls after this - // one for this package will by-pass this once-only delegation. + // one for this package will bypass this once-only delegation. // The following call will typically create a -config.cmake file // in the redirectsDir, which we still want to process like any other // config file to ensure we follow normal find_package() processing. diff --git a/Tests/CPackComponentsForAll/CMakeLists.txt b/Tests/CPackComponentsForAll/CMakeLists.txt index 253a03554b..45d2f03b9b 100644 --- a/Tests/CPackComponentsForAll/CMakeLists.txt +++ b/Tests/CPackComponentsForAll/CMakeLists.txt @@ -149,7 +149,7 @@ set(CPACK_COMPONENT_GROUP_DEVELOPMENT_DESCRIPTION # depend on the libraries component. set(CPACK_COMPONENT_HEADERS_DEPENDS libraries) -# Create two installation types with pre-selected components. +# Create two installation types with preselected components. # The "Developer" installation has just the library and headers, # while the "Full" installation has everything. set(CPACK_ALL_INSTALL_TYPES Full Developer)