Verify that the command produces a FATAL_ERROR if and only if the missing package is REQUIRED.
3 lines
80 B
CMake
3 lines
80 B
CMake
find_package(NotHere MODULE)
|
|
message(WARNING "This warning must be reachable.")
|