Find7Zip — Extra CMake Modules 5.115.0 documentation

# Find7Zip

Try to find 7-Zip.

If the 7-Zip executable is not in your PATH, you can provide an alternative name or full path location with the `7Zip_EXECUTABLE` variable.

This will define the following variables:

`7Zip_FOUND`

  TRUE if 7-Zip is available

`7Zip_EXECUTABLE`

  Path to 7-Zip executable

If `7Zip_FOUND` is TRUE, it will also define the following imported target:

`7Zip::7Zip`

  Path to 7-Zip executable

Note

It will see to only find the original 7-Zip, not one of the p7zip forks.

Since 5.113.0.