Put CONDA_PREFIX second priority of ffmpeg search path (#2312)
Summary: Change the cmake logic to search CONDA_PREFIX before falling back to the other default paths and system paths. 1. FFMPEG_ROOT 2. CONDA_PREFIX 3. Other locations (Package managers and system paths) For users with regular conda installation, ffmpeg from conda should be picked automatically. If anyone wants to specify the ffmpeg, then can set FFMPEG_ROOT variable to the location of desired installation. Pull Request resolved: https://github.com/pytorch/audio/pull/2312 Reviewed By: hwangjeff Differential Revision: D35317383 Pulled By: mthrok fbshipit-source-id: 52aef8f3f7f0f8f1eaf7a89a2d1ccfb6265e2c50
Showing
Please register or sign in to comment