[CMake] find_program search order

William A. Hoffman billlist at nycap.rr.com
Fri Jul 28 11:09:42 EDT 2006


At 10:37 AM 7/28/2006, William A. Hoffman wrote:
>FIND_PROGRAM(KDE3_DCOPIDL_EXECUTABLE NAMES dcopidl) looks for 
>NAMES then dcopidl it is a backwards compatibility for FIND_PROGRAM,
>that is not documented.   The NAMES keyword was not required in prior
>versions of cmake, so FIND(foovar foo1 foo2) is the same as 
>FIND(foovar NAMES foo1 foo2)
Opps.  That NAMES should be NAME.

>FIND_PROGRAM(KDE3_DCOPIDL_EXECUTABLE NAME dcopidl) looks for 
>NAME then dcopidl it is a backwards compatibility for FIND_PROGRAM,

-Bill




More information about the CMake mailing list