Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: search for libbz2 only if FFmpeg or FreeType is enabled. (Acad…
…emySoftwareFoundation#4505) Detect libbz2 only if necessary, i.e., FFmpeg or FreeType is enabled. This avoids an unnecessary dependency on libbz2 if these features are disabled. In particular, with vcpkg, OpenImageIO might pick up a dependency on libbz2.so from the host system since bzip2 from vcpkg is not listed as a dependency of OpenImageIO (if the FFmpeg and FreeImage features are disabled, and bzip2 is not already installed for other reasons). Signed-off-by: Joachim Reichel <43646584+jreichel-nvidia@users.noreply.github.com>
- Loading branch information