From b20f2302a765bbf2ea6fa961a7c4e066d261ae94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20St=C3=B6ckl?= Date: Tue, 23 Aug 2022 20:50:30 +0200 Subject: [PATCH] xfconf-plugin: Let docker reformat cmake files --- scripts/cmake/Modules/FindXfconf.cmake | 14 +++++++------- src/plugins/xfconf/CMakeLists.txt | 16 ++++++++-------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/scripts/cmake/Modules/FindXfconf.cmake b/scripts/cmake/Modules/FindXfconf.cmake index dc095cbdd0e..b252e470deb 100644 --- a/scripts/cmake/Modules/FindXfconf.cmake +++ b/scripts/cmake/Modules/FindXfconf.cmake @@ -7,17 +7,17 @@ # ~~~ if (XFCONF_INCLUDE_DIR) # Already in cache, be silent. - set (XFCONF_FIND_QUIETLY TRUE) + set (XFCONF_FIND_QUIETLY TRUE) endif (XFCONF_INCLUDE_DIR) find_path ( - XFCONF_INCLUDE_DIR - PATHS /usr/include /usr/local/include - PATH_SUFFIXES xfce4/xfconf-0) + XFCONF_INCLUDE_DIR + PATHS /usr/include /usr/local/include + PATH_SUFFIXES xfce4/xfconf-0) find_library ( - XFCONF_LIBRARY - NAMES xfconf-0 - PATHS /usr/lib /usr/lib64 /usr/local/lib) + XFCONF_LIBRARY + NAMES xfconf-0 + PATHS /usr/lib /usr/lib64 /usr/local/lib) # Handle the QUIETLY and REQUIRED arguments and set XFCONF_FOUND to TRUE if all listed variables are TRUE. include (FindPackageHandleStandardArgs) diff --git a/src/plugins/xfconf/CMakeLists.txt b/src/plugins/xfconf/CMakeLists.txt index 95774723851..3c4536354f7 100644 --- a/src/plugins/xfconf/CMakeLists.txt +++ b/src/plugins/xfconf/CMakeLists.txt @@ -2,14 +2,14 @@ include (LibAddMacros) include (FindXfconf) if (NOT XFCONF_FOUND) - remove_plugin (xfconf "libxfconf not found") - return () + remove_plugin (xfconf "libxfconf not found") + return () endif () add_plugin ( - xfconf - SOURCES xfconf.h xfconf.c - INCLUDE_DIRECTORIES "${XFCONF_INCLUDE_DIR}" "${CMAKE_CURRENT_BINARY_DIR}" - LINK_ELEKTRA elektra-ease - LINK_LIBRARIES ${XFCONF_LIBRARIES} - ADD_TEST TEST_README COMPONENT libelektra${SO_VERSION}-experimental) + xfconf + SOURCES xfconf.h xfconf.c + INCLUDE_DIRECTORIES "${XFCONF_INCLUDE_DIR}" "${CMAKE_CURRENT_BINARY_DIR}" + LINK_ELEKTRA elektra-ease + LINK_LIBRARIES ${XFCONF_LIBRARIES} + ADD_TEST TEST_README COMPONENT libelektra${SO_VERSION}-experimental)