lomiri.cmake-extras: Change default QML location back to CMAKE_INSTALL_PREFIX

Going `${CMAKE_INSTALL_BINDIR}/../` looks weird. Derivations that want them in a non-`out` output can just set the `QMLFILES_DESTINATION` CMake flag as needed.

Co-authored-by: rewine <luhongxu@deepin.org>
This commit is contained in:
Christoph Neidahl 2023-07-05 13:34:57 +02:00 committed by GitHub
parent d32d5d5302
commit 437e8e0734
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ stdenvNoCC.mkDerivation {
# This is in a function that reverse dependencies use to determine where to install their files to
substituteInPlace src/QmlPlugins/QmlPluginsConfig.cmake \
--replace "\''${CMAKE_INSTALL_LIBDIR}/qt5/qml" "\''${CMAKE_INSTALL_BINDIR}/../${qtbase.qtQmlPrefix}"
--replace "\''${CMAKE_INSTALL_LIBDIR}/qt5/qml" "\''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}"
'';
strictDeps = true;