Re: [cmake-developers] Is there a way to avoid LOCATION property with Qt5?

2015-04-28 Thread Stephen Kelly
Nils Gladitz wrote: On 04/28/2015 09:30 AM, Alan W. Irwin wrote: OK. Thanks, for pointing that out. Could you make that more obvious in http://www.cmake.org/cmake/help/v3.2/policy/CMP0026.html, i.e. change the summary line from Disallow use of the LOCATION target property. == Disallow

Re: [cmake-developers] Is there a way to avoid LOCATION property with Qt5?

2015-04-28 Thread Nils Gladitz
On 04/28/2015 09:30 AM, Alan W. Irwin wrote: OK. Thanks, for pointing that out. Could you make that more obvious in http://www.cmake.org/cmake/help/v3.2/policy/CMP0026.html, i.e. change the summary line from Disallow use of the LOCATION target property. == Disallow use of the LOCATION

Re: [cmake-developers] Is there a way to avoid LOCATION property with Qt5?

2015-04-28 Thread Alan W. Irwin
Hi Nils: Thanks for your quick reply. More below in context. On 2015-04-28 08:45+0200 Nils Gladitz wrote: On 04/28/2015 08:00 AM, Alan W. Irwin wrote: The Qt5 cmake documentation at http://doc.qt.io/qt-5/cmake-manual.html which Steve has referred me to before states you should use the

Re: [cmake-developers] Is there a way to avoid LOCATION property with Qt5?

2015-04-28 Thread Nils Gladitz
On 04/28/2015 09:30 AM, Alan W. Irwin wrote: I don't understand exactly what you mean by configuration LOCATION returns. From what you said that term means something different from LOCATION_CONFIG and in any case is not relevant to my use case of generating pkg-config *.pc files with our build

[cmake-developers] Is there a way to avoid LOCATION property with Qt5?

2015-04-28 Thread Alan W. Irwin
The Qt5 cmake documentation at http://doc.qt.io/qt-5/cmake-manual.html which Steve has referred me to before states you should use the LOCATION property of targets to determine the actual path to libraries. The PLplot build system requires those locations so it can transform them into the -L and

Re: [cmake-developers] Is there a way to avoid LOCATION property with Qt5?

2015-04-28 Thread Nils Gladitz
On 04/28/2015 08:00 AM, Alan W. Irwin wrote: The Qt5 cmake documentation at http://doc.qt.io/qt-5/cmake-manual.html which Steve has referred me to before states you should use the LOCATION property of targets to determine the actual path to libraries. The PLplot build system requires those

Re: [cmake-developers] Is there a way to avoid LOCATION property with Qt5?

2015-04-28 Thread J Decker
many places that you would use LOCATION you can use generator expressions http://www.cmake.org/cmake/help/v3.0/manual/cmake-generator-expressions.7.html $TARGET_FILE_DIR:targetname On Tue, Apr 28, 2015 at 12:30 AM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: Hi Nils: Thanks for your quick