[cmake-developers] [CMake 0015631]: CMAKE_PREFIX_PATH missing documentation for multiple paths list separator

Mantis Bug Tracker mantis at public.kitware.com
Thu Jun 25 05:34:34 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15631 
====================================================================== 
Reported By:                trsystran
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15631
Category:                   Documentation
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-06-25 05:34 EDT
Last Modified:              2015-06-25 05:34 EDT
====================================================================== 
Summary:                    CMAKE_PREFIX_PATH missing documentation for multiple
paths list separator
Description: 
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 ";".
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-06-25 05:34 trsystran      New Issue                                    
======================================================================



More information about the cmake-developers mailing list