From 795c70cb63566eb2679728063834fc8ae5836e24 Mon Sep 17 00:00:00 2001 From: duongtd Date: Tue, 2 Dec 2025 10:42:15 +0700 Subject: [PATCH] fix file cmake --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 38c8c28..330e915 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ target_include_directories(voxel_grid # Install targets install(TARGETS voxel_grid - EXPORT voxel_grid + EXPORT voxel_gridTargets ARCHIVE DESTINATION lib LIBRARY DESTINATION lib RUNTIME DESTINATION bin @@ -41,6 +41,10 @@ install(DIRECTORY include/${PROJECT_NAME}/ DESTINATION include/${PROJECT_NAME} ) +install(EXPORT voxel_gridTargets + DESTINATION lib/cmake/voxel_grid) + + # Testing enable_testing()