You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
367 B
12 lines
367 B
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 ()
|