awilcox added a comment.
Please do note that `_XOPEN_SOURCE` must be `600` and not `700` because some components of KDE still use `rindex` which is no longer supported in X/Open 7 <http://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap03.html>. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D8256 To: awilcox, alexmerry Cc: #frameworks, #build_system