From a649a0225e0fe4de2c9253b24c6d86035294ed0e Mon Sep 17 00:00:00 2001 From: Stanislav Angelovic Date: Fri, 12 Mar 2021 14:01:02 +0100 Subject: [PATCH] style: fix indentation in CMakeLists.txt --- CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3179b19..45106db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,10 +23,9 @@ if(NOT BUILD_LIBSYSTEMD) "and building libsystemd in as part of sdbus-c++ during configuration)") endif() add_library(Systemd::Libsystemd ALIAS PkgConfig::Systemd) - string(REGEX MATCHALL "([0-9]+)" SYSTEMD_VERSION_LIST "${Systemd_VERSION}") - - list(GET SYSTEMD_VERSION_LIST 0 LIBSYSTEMD_VERSION) - message(STATUS "LIBSYSTEMD_VERSION is: ${LIBSYSTEMD_VERSION}") + string(REGEX MATCHALL "([0-9]+)" SYSTEMD_VERSION_LIST "${Systemd_VERSION}") + list(GET SYSTEMD_VERSION_LIST 0 LIBSYSTEMD_VERSION) + message(STATUS "Building with libsystemd v${LIBSYSTEMD_VERSION}") else() # Build static libsystemd library as an external project include(cmake/LibsystemdExternalProject.cmake)