Find7zΒΆ

Try to find 7z.

If the 7z executable is not in your PATH, you can provide an alternative name or full path location with the 7z_EXECUTABLE variable.

This will define the following variables:

7z_FOUND

TRUE if 7z is available

7z_EXECUTABLE

Path to 7z executable

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

7z::7z

Path to 7z executable

Since 5.85.0.