title: CMake with conda-forge
body: <p>I have installed let's say X from source by compiling.</p>
  <p>Path location : <strong>$HOME/Github/X_root_install</strong></p>
  <p>I have also installed it via conda-forge in a conda environment.</p>
  <p>Path location: <strong>$HOME/anaconda3/envs/X/</strong></p>
  <p>Now I have to compile a c++ file by providing installed path location.</p>
  <p><strong>X_ROOT=$HOME/anaconda3/envs/X/ cmake ..</strong></p>
  <p>But It found X in my <strong>$HOME/Github/X_root_install</strong> instead of <strong>$HOME/anaconda3/envs/X/</strong> location.</p>
  <p>How should I solve this problem?</p>