mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
aa3ab3eb92
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
5 lines
157 B
Plaintext
5 lines
157 B
Plaintext
.*find_library considered the following locations.*
|
|
.*\(\|lib\)library_no_exist\(\\.lib\|\\.dll\\.a\|\\.a\).*
|
|
.*The item was found at.*
|
|
.*lib/libcreated.a.*
|