Skip to content

Commit

Permalink
Fix export by not adding it to config extras
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 committed Jul 31, 2024
1 parent 61f7286 commit 5d500eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions grid_map_core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ endif()

ament_export_targets(export_${PROJECT_NAME} HAS_LIBRARY_TARGET)
ament_export_dependencies(Eigen3)
ament_package(CONFIG_EXTRAS
cmake/${PROJECT_NAME}-extras.cmake
)
ament_package()
#ament_package(CONFIG_EXTRAS
# cmake/${PROJECT_NAME}-extras.cmake
#)
2 changes: 1 addition & 1 deletion issue382/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.15)
project(issue382)

find_package(grid_map_core REQUIRED)
find_package(grid_map_core CONFIG REQUIRED)
find_package(Eigen3 CONFIG REQUIRED)


Expand Down

0 comments on commit 5d500eb

Please sign in to comment.