On Tue, Jan 15, 2013 at 4:21 AM, Kornel Benko <kor...@lyx.org> wrote: > Am Dienstag, 15. Januar 2013 um 03:42:26, schrieb Scott Kostyshak > <skost...@lyx.org> > >> When is the following true? > >> > >> When you want to run LyX without installing from a out-of-source > >> build directory you have to set the environment variable LYX_DIR_21x > > > > Cmake: Lyx (2.1) finds it's way to the source path, if not called from the > installed dir. > > > >> and it must point to the lib dir in the source tree. > >> Linux/Unix: export LYX_DIR_21x=<lyx-source>/lib > > > > No need for 2.1. No harm either. (Check Preferences->Paths) > > > >> Windows : set LYX_DIR_21x=<lyx-source>\lib > >> > >> I have used out-of-source and in-source Cmake builds and have never > >> had to set the environment variable. Cmake doesn't take care of this > >> automatically? > > > > It cares iff set. > > >
OK. I won't change anything in INSTALL.cmake but the "you *have* to set the environment variable" makes it sound like the Cmake-user absolutely needs to do this. Thanks for the explanations, Scott