Re: [Plplot-general] CMake problem with hyphen in path

2019-07-12 Thread Alan W. Irwin
On 2019-07-12 05:05-0700 Alan W. Irwin wrote: I am virtually positive pkg-config has a way (likely with quotes) to properly distinguish between these two cases, but I am going to have to find what that is and adjust the above parsing logic accordingly for the general fix. Hi Phil: It turns ou

Re: [Plplot-general] CMake problem with hyphen in path

2019-07-12 Thread Alan W. Irwin
To Phil and Arjen: I just realized this development discussion is on the wrong mailing list (plplot-general that is normally used just for announcements and PLplot user support requests). So my further posts on this topic will CC the plplot-devel mailing list, and I would appreciate you both tak

Re: [Plplot-general] CMake problem with hyphen in path

2019-07-12 Thread Alan W. Irwin
On 2019-07-12 09:10+0100 Phil Rosenberg wrote: [...] I couldn't work out the full purpose of the function cmake_link_flags yesterday, but I've just sat and looked again. My understanding is that it's primary purpose is to take liker flags -L and -l, specifying library directories and library nam

Re: [Plplot-general] CMake problem with hyphen in path

2019-07-12 Thread Phil Rosenberg
Thanks Alan for confirming things see below Can I check what the logic is for splitting the paths On Fri, 12 Jul 2019 at 01:16, Alan W. Irwin wrote: > > On 2019-07-11 15:05-0700 Alan W. Irwin wrote: > > > I decided to attempt a somewhat equivalent step (iv) on Linux by setting the > environment

Re: [Plplot-general] CMake problem with hyphen in path

2019-07-11 Thread Alan W. Irwin
On 2019-07-11 15:05-0700 Alan W. Irwin wrote: [...] (iv) Repeat (i) with the MSYS2 install prefix with " - " in its name and repeat (ii). I assume from your results above that (ii) will not work for this case since the (MSYS2) libraries needed by PLplot will all have " - " in their pathname.

Re: [Plplot-general] CMake problem with hyphen in path

2019-07-11 Thread Alan W. Irwin
On 2019-07-11 12:22- Arjen Markus wrote: Hi Phil, -Original Message- From: Phil Rosenberg Sent: 11 July 2019 14:12 To: plplot_general Subject: [Plplot-general] CMake problem with hyphen in path Hi Alan (I guess this is your expertise) I've just tried to build plplot on a

Re: [Plplot-general] CMake problem with hyphen in path

2019-07-11 Thread Arjen Markus
Hi Phil, -Original Message- From: Phil Rosenberg Sent: 11 July 2019 14:12 To: plplot_general Subject: [Plplot-general] CMake problem with hyphen in path Hi Alan (I guess this is your expertise) I've just tried to build plplot on a new Windows system and I am getting problems.

[Plplot-general] CMake problem with hyphen in path

2019-07-11 Thread Phil Rosenberg
Hi Alan (I guess this is your expertise) I've just tried to build plplot on a new Windows system and I am getting problems. After some digging I found that the issue is that my home directory (where all my libraries are stored and where I am building plplot) contains a hyphen with a space either s