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 -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -