[CMake] FindXXX.cmake specification inconsistency

r.koebler at yahoo.de r.koebler at yahoo.de
Sun Apr 22 16:46:13 EDT 2007


hi,

> >>>- set XXX_INCLUDE_DIR, and put it into the cache (via FIND_PATH)
> >>>- set XXX_INCLUDE_DIRS to XXX_INCLUDE_DIR (if the library was found),
> >>>                       and don't put it into the cache.
> >>>- set XXX_LIBRARY,     and put it into the cache (via FIND_LIBRARY)
> >>>- set XXX_LIBRARIES    to XXX_LIBRARY     (if the library was found),
> >>>                       and don't put it into the cache.

> >but what's the reason for these "duplicate" variables?
> I gave you the relevant quotes from the readme which answer your question.
you gave me the quotes, that say *how* it is done currently, but
definitely not *why*.

so, is there *anybody* here in the list, who can answer my question?
why are there 2*2 variables, containing the same?
why not replace one of them by the other?

regards,
Roland



More information about the CMake mailing list