cmake - How to put several paths in CMAKE_PREFIX_PATH? -


this question has answer here:

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

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -