[CMake] find_program doesn't use the PATH

Braden McDaniel braden at endoframe.com
Wed Jul 31 16:54:20 EDT 2019


On Wed, 2019-07-31 at 20:32 +0200, Kornel Benko wrote:
> The find_program() is searching something like "/usr/bin/NAME".
> "NAME" should be a placeholder.
> What you had in mind was probably the second form
> 	find_program(GETTEXT_MSGMERGE_EXECUTABLE NAMES msgmerge)
> Mark the string "NAMES".

Oh, good grief.  Sigh.  Thanks for catching that.

-- 
Braden McDaniel <braden at endoframe.com>



More information about the CMake mailing list