TARGET_SUPPORTS_SHARED_LIBS

From Get docs
Cmake/docs/3.21/prop gbl/target supports shared libs


TARGET_SUPPORTS_SHARED_LIBS

Does the target platform support shared libraries.

TARGET_SUPPORTS_SHARED_LIBS is a boolean specifying whether the target platform supports shared libraries. Basically all current general general purpose OS do so, the exception are usually embedded systems with no or special OSs.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/prop_gbl/TARGET_SUPPORTS_SHARED_LIBS.html