blob: 605846e7be193791f23fae9b7a2a29f7e359b772 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
message(CHECK_START "Find `libfoo`")
message(CHECK_START "Looking for `libfoo.h`")
message(CHECK_PASS "found [/usr/include]")
message(CHECK_START "Looking for `libfoo.so`")
message(CHECK_PASS "found [/usr/lib/libfoo.so]")
message(CHECK_START "Getting `libfoo` version")
message(CHECK_START "Looking for `libfoo/version.h`")
message(CHECK_PASS "found")
message(CHECK_PASS "1.2.3")
message(CHECK_FAIL "required version 4.5.6 but found 1.2.3")
# Should generate an error, no associated CHECK_START
message(CHECK_FAIL "unmatched check fail case")
|