cmake find_package examples

Signatures

find_package(<PackageName> [version] [EXACT] [QUIET] [MODULE]
  [REQUIRED|OPTIONAL] [[COMPONENTS] [components...]]
  [OPTIONAL_COMPONENTS components...]
  [REGISTRY_VIEW  (64|32|64_32|32_64|HOST|TARGET|BOTH)]
  [GLOBAL]
  [NO_POLICY_SCOPE]
  [BYPASS_PROVIDER]
)

Examples

dufernst/LegionCore-7.3.5 dep/boost/CMakeLists.txt :29

find_package(Boost 1.64 REQUIRED system filesystem thread program_options iostreams regex)

Jackarain/proxy third_party/boost/libs/hana/CMakeLists.txt :155

find_package(Boost 1.64)

tinganho/l10ns CMakeLists.txt :16

find_package(Boost 1.64 COMPONENTS system filesystem regex REQUIRED)