Am Sonntag, 4. August 2019, 09:34:53 CEST schrieb Kornel Benko: > Am Sonntag, 4. August 2019, 00:15:29 CEST schrieb Joel Kulesza: > > On Sat, Aug 3, 2019 at 11:47 PM Kornel Benko <kor...@lyx.org> wrote: > > > > > > > > Strictly speaking, this is not 'out of source'. > > > > > > > Fair enough. My point is that it was not in the same directory as the LyX > > file such that the relative path would have been consistent with the actual > > relative path. > > > > > > > I suggest, you use a completely different directory and use an absolute > > > path. > > > 1. mkdir -p ~/build/lyx > > > 2. cd ~/build/lyx > > > 3. cmake <absolute source lyx path> ... > > > > > > > Doing this (and cleaning up my `source` directory), I still end up with an > > `include` directory in the `~/build` directory. Yes, this doesn't pollute > > my document directory; however, LyX is unnecessarily creating an empty > > directory. This does not seem appropriate. > > I don't see it here. > 1.) What is your cmake version? (my is 'cmake version 3.15.20190726-g8ce18') > 2.) What is the path of this dir? > Searching for include in the build gives here nothing. > $ find . -name include > 3.) What exact parameter in calling cmake are you using? > > > Thanks, > > Joel > > Kornel > >
Retested with your CMakeLists.txt I get $ cmake .. $ make $ ls -l insgesamt 40 -rw-rw-r-- 1 kornel kornel 13878 Aug 4 09:45 base_doc.pdf -rw-rw-r-- 1 kornel kornel 4212 Aug 4 09:45 CMakeCache.txt drwxrwxr-x 4 kornel kornel 4096 Aug 4 09:45 CMakeFiles -rw-rw-r-- 1 kornel kornel 1530 Aug 4 09:43 cmake_install.cmake -rw-rw-r-- 1 kornel kornel 4196 Aug 4 09:45 Makefile Kornel
signature.asc
Description: This is a digitally signed message part.