CMAKE_FIND_LIBRARY_PREFIXES — CMake 4.4.1 Documentation

# CMAKE_FIND_LIBRARY_PREFIXES

Prefixes to prepend when looking for libraries.

This specifies what prefixes to add to library names when the `find_library()` command looks for libraries. On UNIX systems this is typically `lib`, meaning that when trying to find the `foo` library it will look for `libfoo`.

CMake sets this variable automatically during toolchain inspection by calls to the `project()` or `enable_language()` commands.