CMAKE_LINK_DEPENDS_NO_SHARED

From Get docs
Cmake/docs/3.21/variable/cmake link depends no shared


CMAKE_LINK_DEPENDS_NO_SHARED

Whether to skip link dependencies on shared library files.

This variable initializes the LINK_DEPENDS_NO_SHARED property on targets when they are created. 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_LINK_DEPENDS_NO_SHARED.html