[packaging/krita-deps-management/transition.now/qt6] cmake: Pass CMAKE_EXPORT_COMPILE_COMMANDS to projects themselves

Dmitry Kazakov <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 0f64a691bb41bd06049b08e76e302c8978a94cfa by Dmitry Kazakov.
Committed on 29/07/2026 at 09:36.
Pushed by dkazakov into branch 'transition.now/qt6'.

Pass CMAKE_EXPORT_COMPILE_COMMANDS to projects themselves

M  +2    -0    cmake/base-dep-options.cmake

https://invent.kde.org/packaging/krita-deps-management/-/commit/0f64a691bb41bd06049b08e76e302c8978a94cfa

diff --git a/cmake/base-dep-options.cmake b/cmake/base-dep-options.cmake
index 2ef1c5f..2f78f80 100644
--- a/cmake/base-dep-options.cmake
+++ b/cmake/base-dep-options.cmake
@@ -291,3 +291,5 @@ if (ANDROID)
                      -DCMAKE_SHARED_LINKER_FLAGS=${SECURITY_SHARED_LINKER_FLAGS}
                      -DCMAKE_MODULE_LINKER_FLAGS=${SECURITY_MODULE_LINKER_FLAGS})
 endif()
+
+list (APPEND GLOBAL_PROFILE -DCMAKE_EXPORT_COMPILE_COMMANDS=${CMAKE_EXPORT_COMPILE_COMMANDS})
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.