The top level CMake file only does "find_package(ECM..." when UI building is enabled, but sub level CMake files do "include(ECMEnableSanitizers)" unconditionally. Especially for cross compiling it would be nice to be able to build heaptrack (without the GUI) without ECM, as that is usually not in the toolchain.
Git commit 79cd7c8614ddfb91e92f3dcbb6acfb3d8f272253 by Milian Wolff. Committed on 26/03/2018 at 08:07. Pushed by mwolff into branch 'master'. Fix compile when extra-cmake-modules aren't available M +3 -1 3rdparty/CMakeLists.txt M +3 -1 src/analyze/CMakeLists.txt M +3 -1 src/interpret/CMakeLists.txt M +4 -1 tests/auto/CMakeLists.txt https://commits.kde.org/heaptrack/79cd7c8614ddfb91e92f3dcbb6acfb3d8f272253