title: How to put several paths in CMAKE_PREFIX_PATH?
body: <p>How can I have several paths for cmake to look for needed libraries. I installed zlib and libpng under <code>/usr/local/zlib</code> and <code>/usr/local/libpng</code> however, what I'm currently doing is first <code>cmake -DCMAKE_PREFIX_PATH=/usr/local/zlib</code>, then issuing a second command `cmake -DCMAKE_PREFIX_PATH=/usr/local/libpng" in order for cmake to recognize both.
  Is there a way to have both paths in the same variable?</p>
  
  <p>I tried <code>-DCMAKE_PREFIX_PATH=/usr/local/zlib:/usr/local/libpng</code> but it didn't work.</p>