kdesrc-build: cmake should take local (instead of system-wide) cmake modules

2018-05-08 Thread gregor.mi.sw
Hello, I have a question regarding kdesrc-build and CMake. I setup the build environment variables and ran kdesrc-build and got a compiler error kinfocenter. I investigated /home/gregor/kde/src/build/kde/workspace/kinfocenter/CMakeCache.txt and found the following lines //The directory

Re: kdesrc-build: cmake should take local (instead of system-wide) cmake modules

2018-05-08 Thread Milian Wolff
On Dienstag, 8. Mai 2018 22:40:39 CEST gregor.mi.sw wrote: > Hello, > > I have a question regarding kdesrc-build and CMake. > > I setup the build environment variables and ran kdesrc-build and got a > compiler error kinfocenter. > > I investigated > /home/gregor/kde/src/build/kde/workspace/kinfo

Re: kdesrc-build: cmake should take local (instead of system-wide) cmake modules

2018-05-08 Thread gregor.mi.sw
On 08.05.2018 23:15, Milian Wolff wrote: On Dienstag, 8. Mai 2018 22:40:39 CEST gregor.mi.sw wrote: Hello, I have a question regarding kdesrc-build and CMake. I setup the build environment variables and ran kdesrc-build and got a compiler error kinfocenter. I investigated /home/gregor/kde/s

Re: kdesrc-build: cmake should take local (instead of system-wide) cmake modules

2018-05-08 Thread Ben Cooksley
On Wed, May 9, 2018 at 9:28 AM, gregor.mi.sw wrote: > > > On 08.05.2018 23:15, Milian Wolff wrote: >> >> On Dienstag, 8. Mai 2018 22:40:39 CEST gregor.mi.sw wrote: >>> >>> Hello, >>> >>> I have a question regarding kdesrc-build and CMake. >>> >>> I setup the build environment variables and ran kde

Re: kdesrc-build: cmake should take local (instead of system-wide) cmake modules

2018-05-09 Thread gregor.mi.sw
Am 09.05.2018 08:19 schrieb Ben Cooksley: On Wed, May 9, 2018 at 9:28 AM, gregor.mi.sw wrote: On 08.05.2018 23:15, Milian Wolff wrote: On Dienstag, 8. Mai 2018 22:40:39 CEST gregor.mi.sw wrote: Hello, I have a question regarding kdesrc-build and CMake. I setup the build environment va

Re: kdesrc-build: cmake should take local (instead of system-wide) cmake modules

2018-05-09 Thread Michael Pyne
On Wed, May 09, 2018 at 01:12:10PM +0200, gregor.mi.sw wrote: > Am 09.05.2018 08:19 schrieb Ben Cooksley: > > On Wed, May 9, 2018 at 9:28 AM, gregor.mi.sw > > wrote: > >> On 08.05.2018 23:15, Milian Wolff wrote: > >>> On Dienstag, 8. Mai 2018 22:40:39 CEST gregor.mi.sw wrote: > > Hello

Re: kdesrc-build: cmake should take local (instead of system-wide) cmake modules

2018-05-12 Thread gregor.mi.sw
On 09.05.2018 13:12, gregor.mi.sw wrote: Am 09.05.2018 08:19 schrieb Ben Cooksley: On Wed, May 9, 2018 at 9:28 AM, gregor.mi.sw wrote: On 08.05.2018 23:15, Milian Wolff wrote: On Dienstag, 8. Mai 2018 22:40:39 CEST gregor.mi.sw wrote: Hello, I have a question regarding kdesrc-build

Re: kdesrc-build: cmake should take local (instead of system-wide) cmake modules

2018-05-12 Thread Roman Gilg
Please try again with kdesrc-build from current master. I just pushed a patch (mentioned by Michael before) about not moving up the /usr directory in multiple environment variables including CMAKE_PREFIX_PATH, what might have overwritten your manual setting. Regarding your CMakeCache.txt: /usr/loc

Re: kdesrc-build: cmake should take local (instead of system-wide) cmake modules

2018-05-12 Thread gregor.mi.sw
Hi Michael, sorry, I didn't see your last email before I sent the first mail earlier today. I updated to the latest kdesrc-build ($ cd /home/gregor/kde/src/extragear/utils/kdesrc-build/ ; git pull). More see below. On 10.05.2018 02:22, Michael Pyne wrote: On Wed, May 09, 2018 at 01:12:10PM

Re: kdesrc-build: cmake should take local (instead of system-wide) cmake modules

2018-05-13 Thread gregor.mi.sw
Regarding the difficulty finding CMake packages, kdesrc-build sets CMAKE_PREFIX_PATH already, based on your chosen install location (set by 'prefix' or the compatibility 'kdedir' option). I looked that up in https://docs.kde.org/trunk5/en/extragear-utils/kdesrc-build/conf-options-table.html. I

Re: kdesrc-build: cmake should take local (instead of system-wide) cmake modules

2018-05-14 Thread Michael Pyne
On Sun, May 13, 2018 at 10:32:29AM +0200, gregor.mi.sw wrote: > > Regarding the difficulty finding CMake packages, kdesrc-build sets > > CMAKE_PREFIX_PATH already, based on your chosen install location (set by > > 'prefix' or the compatibility 'kdedir' option). > > I looked that up in > https://d

Re: kdesrc-build: cmake should take local (instead of system-wide) cmake modules

2018-05-14 Thread Michael Pyne
On Sat, May 12, 2018 at 02:23:47PM +0200, gregor.mi.sw wrote: > On 10.05.2018 02:22, Michael Pyne wrote: > > On Wed, May 09, 2018 at 01:12:10PM +0200, gregor.mi.sw wrote: > >> Am 09.05.2018 08:19 schrieb Ben Cooksley: > >>> On Wed, May 9, 2018 at 9:28 AM, gregor.mi.sw > >>> wrote: > On 08.05.