Add a "CMakeCommands.find_package" test to run CMake on a bunch of cases in which find_package fails. Check that the process return code and warning/error messages are as expected. Record expected test output in corresponding files for reference by the check. These files will also serve as a reference for the message text in each case.
3 lines
63 B
CMake
3 lines
63 B
CMake
set(CMAKE_FIND_PACKAGE_WARN_NO_MODULE 1)
|
|
find_package(NotHere)
|