From c3c5e3e30d1c8a5748d671c33d059b7bf02ad527 Mon Sep 17 00:00:00 2001 From: Levi Armstrong Date: Tue, 5 Sep 2023 11:18:47 -0500 Subject: [PATCH] fixup --- .cmake-format | 7 +++++++ tesseract_collision/bullet/CMakeLists.txt | 12 ++---------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.cmake-format b/.cmake-format index ccf3c422589..fcf667d708f 100644 --- a/.cmake-format +++ b/.cmake-format @@ -112,6 +112,13 @@ with section("parse"): 'EXCLUDE': '*', } }, + 'install_targets': { + 'pargs': {'nargs': 0}, + 'kwargs': { + 'TARGETS': '*', + 'COMPONENT': '?', + } + }, 'cpack': { 'pargs': {'nargs': 0}, 'kwargs': { diff --git a/tesseract_collision/bullet/CMakeLists.txt b/tesseract_collision/bullet/CMakeLists.txt index 2ddf9edd4d3..ffe801de22f 100644 --- a/tesseract_collision/bullet/CMakeLists.txt +++ b/tesseract_collision/bullet/CMakeLists.txt @@ -80,11 +80,7 @@ if(${HACD_LIBRARY}) target_include_directories( ${PROJECT_NAME}_hacd_convex_decomposition PUBLIC "$" "$") - install_targets( - TARGETS - ${PROJECT_NAME}_hacd_convex_decomposition - COMPONENT - bullet) + install_targets(TARGETS ${PROJECT_NAME}_hacd_convex_decomposition COMPONENT bullet) endif() if(NOT MSVC) @@ -112,11 +108,7 @@ if(NOT MSVC) list(APPEND PACKAGE_LIBRARIES create_convex_hull) - install_targets( - TARGETS - create_convex_hull - COMPONENT - bullet) + install_targets(TARGETS create_convex_hull COMPONENT bullet) endif() # Add factory library so contact_managers_factory can find these factories by defauult