<table><tr><td style="">rjvbb added a comment.
</td></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Can we set DATAROOTDIR=/Library/Application Support/KDE so that everything remains nicely bundled?</p></blockquote>
<p>Sadly not without patching any code, apparently.</p>
<p>We'll also need something like this I think:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">_define_relative(DATADIR DATAROOTDIR ""
"read-only architecture-independent data"
DATA_INSTALL_DIR)
if(APPLE AND NOT APPLE_FORCE_INSTALL_PREFIX)
_define_non_cache(DATADIR_KF5 "/Library/Application Support/kf5")
else()
_define_non_cache(DATADIR_KF5 "${CMAKE_INSTALL_DATADIR}/kf5")
endif()
if(NOT KDE_INSTALL_DIRS_NO_DEPRECATED)
set(KF5_DATA_INSTALL_DIR "${CMAKE_INSTALL_DATADIR_KF5}")
endif()</pre></div></div></div><br /><div><strong>TASK DETAIL</strong><div><a href="https://phabricator.kde.org/T10112">https://phabricator.kde.org/T10112</a></div></div><br /><div><strong>To: </strong>rjvbb<br /><strong>Cc: </strong>kde-mac, KDE Applications, Frameworks, Build System<br /></div>