Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | find_library: Improve regex readability in --debug-find output | Thomas Schenker | 2023-07-13 | 1 | -1/+1 |
| | | | | | If there is only one possible library prefix/suffix, omit the capture group around it in the debug output. | ||||
* | find_library: Infer library prefix and suffix when in script mode | Robert Maynard | 2021-07-19 | 1 | -0/+4 |
This aligns `find_library` with the documentation that states it can be called from script mode. This is done by infering the proper prefix and suffix values when `find_library` is called when the `CMAKE_FIND_LIBRARY*` are not set. This also means that `find_library` won't produce obscure error messages about unset definitions. Fixes: #22027 |