From d853baaf1f0c5b20e4e751be147bd51e0a3082ee Mon Sep 17 00:00:00 2001 From: "Martin T. H. Sandsmark" Date: Mon, 7 Jun 2021 17:34:05 +0200 Subject: [PATCH] enable ECM cmake stuff --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c62d904..7727449d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,6 +38,10 @@ include(FeatureSummary) include(ECMQtDeclareLoggingCategory) include(KDEClangFormat) + +# Allows passing e.g. -DECM_ENABLE_SANITIZERS='address;undefined' to cmake. +include(ECMEnableSanitizers) + ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX KONSOLEPRIVATE SOVERSION ${RELEASE_SERVICE_VERSION_MAJOR} )