MantisBT - CMake
View Issue Details
0015631CMakeDocumentationpublic2015-06-25 05:342016-01-04 11:51
trsystran 
Brad King 
normalminorhave not tried
closedfixed 
CMake 3.2.3 
 
0015631: CMAKE_PREFIX_PATH missing documentation for multiple paths list separator
http://www.cmake.org/cmake/help/v3.2/variable/CMAKE_PREFIX_PATH.html [^]
This doesn't even mention the fact that it accepts multiple paths.
In practice it requires a cmake list, ie ";" as separator. This is not documented here.

Same for CMAKE_LIBRARY_PATH, CMAKE_INCLUDE_PATH, CMAKE_PROGRAM_PATH.

http://www.cmake.org/cmake/help/v3.2/command/find_path.html [^] & other hints that CMAKE_PREFIX_PATH is a list, but not for the others.

http://www.cmake.org/Wiki/CMake_Useful_Variables#Environment_Variables [^] is the only one documenting that they are lists, and that others than PREFIX are platform dependent lists (linux: with ":"), which hints that CMAKE_PREFIX_PATH is a cmake list with ";".
No tags attached.
Issue History
2015-06-25 05:34trsystranNew Issue
2015-06-25 10:09Brad KingNote Added: 0038980
2015-06-25 10:09Brad KingAssigned To => Brad King
2015-06-25 10:09Brad KingStatusnew => resolved
2015-06-25 10:09Brad KingResolutionopen => fixed
2015-06-25 10:19trsystranNote Added: 0038981
2016-01-04 11:51Robert MaynardNote Added: 0040081
2016-01-04 11:51Robert MaynardStatusresolved => closed

Notes
(0038980)
Brad King   
2015-06-25 10:09   
Thanks. I've revised the documentation:

 Help: Revise CMAKE_*_PATH and CMAKE_SYSTEM_*_PATH variable docs
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3117b5fe [^]
(0038981)
trsystran   
2015-06-25 10:19   
Thanks!
(0040081)
Robert Maynard   
2016-01-04 11:51   
Closing resolved issues that have not been updated in more than 4 months.