find_file(FOO_TEST_FILE_FOO foo.h) | |
find_file(FOO_TEST_FILE_ZOT zot.h PATH_SUFFIXES zot) | |
find_path(FOO_TEST_PATH_FOO foo.h) | |
find_path(FOO_TEST_PATH_ZOT zot.h PATH_SUFFIXES zot) | |
find_program(FOO_TEST_PROG_FOO foo.exe) | |
if ("BarModule" IN_LIST Foo_FIND_COMPONENTS) | |
find_package(Bar) | |
elseif ("BarConfig" IN_LIST Foo_FIND_COMPONENTS) | |
find_package(Bar CONFIG) | |
endif () |