forked from Kistler-Group/sdbus-cpp
style: fix indentation in CMakeLists.txt
This commit is contained in:
@@ -24,9 +24,8 @@ if(NOT BUILD_LIBSYSTEMD)
|
|||||||
endif()
|
endif()
|
||||||
add_library(Systemd::Libsystemd ALIAS PkgConfig::Systemd)
|
add_library(Systemd::Libsystemd ALIAS PkgConfig::Systemd)
|
||||||
string(REGEX MATCHALL "([0-9]+)" SYSTEMD_VERSION_LIST "${Systemd_VERSION}")
|
string(REGEX MATCHALL "([0-9]+)" SYSTEMD_VERSION_LIST "${Systemd_VERSION}")
|
||||||
|
|
||||||
list(GET SYSTEMD_VERSION_LIST 0 LIBSYSTEMD_VERSION)
|
list(GET SYSTEMD_VERSION_LIST 0 LIBSYSTEMD_VERSION)
|
||||||
message(STATUS "LIBSYSTEMD_VERSION is: ${LIBSYSTEMD_VERSION}")
|
message(STATUS "Building with libsystemd v${LIBSYSTEMD_VERSION}")
|
||||||
else()
|
else()
|
||||||
# Build static libsystemd library as an external project
|
# Build static libsystemd library as an external project
|
||||||
include(cmake/LibsystemdExternalProject.cmake)
|
include(cmake/LibsystemdExternalProject.cmake)
|
||||||
|
Reference in New Issue
Block a user