cmake-basis / legacy

Legacy CMake BASIS project for versions 3.2 and older. For newer versions, go to
https://github.com/cmake-basis/BASIS
Other
13 stars 11 forks source link

Refactor Find<Pkg>.cmake modules #542

Closed schuhschuh closed 8 years ago

schuhschuh commented 8 years ago

CMake has finally documented standard variables and how to implement and document a Find module using reStructuredText. Also, use the CMake suggested Find module license to enable contribution of these modules upstream. The Find modules should use <Pkg>_ROOT instead of <Pkg>_DIR for the base directory, i.e., installation prefix of the found package. This variable should be set by basis_find_package to DEPENDS_<Pkg>_DIR.

schuhschuh commented 8 years ago
ahundt commented 8 years ago

I suggest removing FindOpenCV.cmake as well. For current versions they provide a *Config.cmake file