CMAKE_ARCHIVE_OUTPUT_DIRECTORY_
From Get docs
Cmake/docs/3.21/variable/cmake archive output directory config
CMAKE_ARCHIVE_OUTPUT_DIRECTORY_
New in version 3.3.
Where to put all the ARCHIVE target files when built for a specific configuration.
This variable is used to initialize the ARCHIVE_OUTPUT_DIRECTORY_ property on all the targets. See that target property for additional information.
© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_ARCHIVE_OUTPUT_DIRECTORY_CONFIG.html