Am Montag, 1. Juli 2013 um 10:54:35, schrieb Scott Kostyshak <skost...@lyx.org> > On Mon, Jul 1, 2013 at 7:41 AM, Kornel Benko <kor...@lyx.org> wrote: > > Am Montag, 1. Juli 2013 um 11:04:00, schrieb Jean-Marc Lasgouttes > > <lasgout...@lyx.org> > > > >> 01/07/2013 09:04, Kornel Benko: > > > >> > > -- checking for module 'xtst' > > > >> > > > > >> > > -- package 'xtst' not found > > > >> > > > > >> > I am sure, I needed this modules in order to compile xvkbd, so it is > > > >> > required. > > > >> > > > > >> > We may create option to disable autotests though. > > > >> > > > >> Or disable them automatically when the packages are not installed. > > > > Even better. > > +1. This is already done when wmctrl and pcregrep are not installed > (code pasted below). Would the right thing to do be to create CMake > modules like FindEnchant.cmake?
Maybe Find(but what?).cmake. I already have a solution without extra module at hand, but have to wait for Vincent. > Scott > > # Make sure, the needed programs are in PATH > find_program(PCREGREP_EXE "pcregrep") > find_program(WMCTRL_EXE "wmctrl") > # This is needed to build xvkbd > # Programs pcregrep wmctrl and xvkbd are used in subsequent scripts > # while testing > find_package(X11) > if(X11_FOUND AND PCREGREP_EXE AND WMCTRL_EXE) Yes, this is the place I choose too. Kornel
signature.asc
Description: This is a digitally signed message part.