Review Request 128352: Include KDEInstallDirs in ECMGeneratePriFile

Alex Merry alex.merry at kde.org
Sat Jul 9 12:29:06 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128352/#review97234
-----------------------------------------------------------



Actually, it's intended to be set by the user on the cmake command line. KDEInstallDirs just sets up the option for the cache.

That bit of code is to make the module do "the right thing" when a project is using KDEInstallDirs. A project that isn't using KDEInstallDirs should still be able to use this, but they will have to set `ECM_MKSPECS_INSTALL_DIR` themselves.

So I don't think this change should happen. However, it would be sensible to make the documentation clearer about the interaction between this module and KDEInstallDirs.

- Alex Merry


On July 3, 2016, 12:17 p.m., Antonio Rojas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128352/
> -----------------------------------------------------------
> 
> (Updated July 3, 2016, 12:17 p.m.)
> 
> 
> Review request for Extra Cmake Modules, Alex Merry and Aleix Pol Gonzalez.
> 
> 
> Bugs: 363348
>     http://bugs.kde.org/show_bug.cgi?id=363348
> 
> 
> Repository: extra-cmake-modules
> 
> 
> Description
> -------
> 
> The cmake variable KDE_INSTALL_USE_QT_SYS_PATHS is used in ECMGeneratePriFile to decide the installation path for .pri files, but this variable is set in KDEInstallDirs since commit a2d184b
> 
> 
> Diffs
> -----
> 
>   modules/ECMGeneratePriFile.cmake af4b877 
> 
> Diff: https://git.reviewboard.kde.org/r/128352/diff/
> 
> 
> Testing
> -------
> 
> Compile kpeople (against system Qt) in the /usr prefix without setting -DKDE_INSTALL_USE_QT_SYS_PATHS=ON explicitely, the .pri files are installed in the correct path /usr/lib/qt/mkspecs/modules/ instead of the wrong /usr/mkspecs
> 
> 
> Thanks,
> 
> Antonio Rojas
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20160709/f8424700/attachment.html>


More information about the Kde-buildsystem mailing list