[packaging/krita-deps-management] cmake: Pass CMAKE_EXPORT_COMPILE_COMMANDS to projects themselves

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

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/fbfb77a10215037e7da10c2fb8919f7b5e935ecb

diff --git a/cmake/base-dep-options.cmake b/cmake/base-dep-options.cmake
index 3cf17c9..2bd6d1a 100644
--- a/cmake/base-dep-options.cmake
+++ b/cmake/base-dep-options.cmake
@@ -282,3 +282,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.