cmake - How to put several paths in CMAKE_PREFIX_PATH? -
this question has answer here:
- multiple cmake_prefix_paths 1 answer
how can have several paths cmake needed libraries. installed zlib , libpng under /usr/local/zlib
, /usr/local/libpng
however, i'm doing first cmake -dcmake_prefix_path=/usr/local/zlib
, issuing second command `cmake -dcmake_prefix_path=/usr/local/libpng" in order cmake recognize both. there way have both paths in same variable?
i tried -dcmake_prefix_path=/usr/local/zlib:/usr/local/libpng
didn't work.
you need use ;
character instead of :
define lists.
Comments
Post a Comment