KDB Tool: Reformat CMake code
@@ -36,18 +36,14 @@ if (BUILD_STATIC)
add_dependencies (kdb-static kdberrors_generated)
set_target_properties (kdb-static PROPERTIES LINKER_LANGUAGE CXX)
- set_target_properties (kdb-static PROPERTIES
- COMPILE_DEFINITIONS "HAVE_KDBCONFIG_H;ELEKTRA_STATIC")
+ set_target_properties (kdb-static PROPERTIES COMPILE_DEFINITIONS "HAVE_KDBCONFIG_H;ELEKTRA_STATIC")
- target_link_libraries (kdb-static
- elektra-static
- elektratools-static)
+ target_link_libraries (kdb-static elektra-static elektratools-static)
# TODO: add helper libraries of plugins, too
if (CMAKE_STATIC_FLAGS)
- set_target_properties (kdb-static PROPERTIES LINK_FLAGS
- ${CMAKE_STATIC_FLAGS})
+ set_target_properties (kdb-static PROPERTIES LINK_FLAGS ${CMAKE_STATIC_FLAGS})
endif ()
install (TARGETS kdb-static DESTINATION bin)
