From c1a838834862867a7619aed33b2370435a19c131 Mon Sep 17 00:00:00 2001 From: Levi Armstrong Date: Wed, 25 Sep 2024 08:58:00 -0500 Subject: [PATCH] Add missing package libraries cmake variable --- tesseract_common/cmake/tesseract_common-config.cmake.in | 1 + tesseract_geometry/cmake/tesseract_geometry-config.cmake.in | 1 + 2 files changed, 2 insertions(+) diff --git a/tesseract_common/cmake/tesseract_common-config.cmake.in b/tesseract_common/cmake/tesseract_common-config.cmake.in index 204ac9b116a..b74db4ccb5a 100644 --- a/tesseract_common/cmake/tesseract_common-config.cmake.in +++ b/tesseract_common/cmake/tesseract_common-config.cmake.in @@ -3,6 +3,7 @@ set(@PROJECT_NAME@_FOUND ON) set_and_check(@PROJECT_NAME@_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include") set_and_check(@PROJECT_NAME@_LIBRARY_DIRS "${PACKAGE_PREFIX_DIR}/lib") +set(@PROJECT_NAME@_LIBRARIES tesseract::@PROJECT_NAME@) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}") diff --git a/tesseract_geometry/cmake/tesseract_geometry-config.cmake.in b/tesseract_geometry/cmake/tesseract_geometry-config.cmake.in index e13db891879..1df2b855dbf 100644 --- a/tesseract_geometry/cmake/tesseract_geometry-config.cmake.in +++ b/tesseract_geometry/cmake/tesseract_geometry-config.cmake.in @@ -3,6 +3,7 @@ set(@PROJECT_NAME@_FOUND ON) set_and_check(@PROJECT_NAME@_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include") set_and_check(@PROJECT_NAME@_LIBRARY_DIRS "${PACKAGE_PREFIX_DIR}/lib") +set(@PROJECT_NAME@_LIBRARIES tesseract::@PROJECT_NAME@) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")