Review Request 114908: Use add_definitions directly, instead of via _KDE4_PLATFORM_DEFINITIONS

Alex Merry kde at randomguy3.me.uk
Tue Jan 21 17:33:02 UTC 2014


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

(Updated Jan. 21, 2014, 5:33 p.m.)


Status
------

This change has been marked as submitted.


Review request for Build System, Extra Cmake Modules and KDE Frameworks.


Repository: extra-cmake-modules


Description
-------

Use add_definitions directly, instead of via _KDE4_PLATFORM_DEFINITIONS

Setting the variable just leads to set() calls overwriting each other
accidentally (as appeared to have happened in the WIN32 block).


Diffs
-----

  kde-modules/KDECompilerSettings.cmake 6adbc069bf314ae1a462ffbc5abe25264dac0ac2 

Diff: https://git.reviewboard.kde.org/r/114908/diff/


Testing
-------

KCoreAddons still compiles, and "make VERBOSE=1" shows that it is setting -D_BSD_SOURCE -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500, as expected.


Thanks,

Alex Merry

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


More information about the Kde-buildsystem mailing list