← All tasks
cppinclude-what-you-use/include-what-you-use #1962Not a task: not reproduced

Add an option to build with packaged GTest

envgap__include-what-you-use__include-what-you-use-1962

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
59d87def7df7044278b3c7212b36b60f113c53fa
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

include-what-you-use/include-what-you-use #1962 · read the original issue
[0.26] Add an option to build with packaged GTest. It will be very useful for most Linux distributions.

Use something like this:
```cmake
if (IWYU_USE_EXTERNAL_GTEST)
    find_package(GTest CONFIG REQUIRED)
else()
    ...
endif()
```
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]