From 7672f56e1cbc14215114888d10dae69aede15e25 Mon Sep 17 00:00:00 2001 From: "k.koide" Date: Thu, 4 Jul 2024 09:52:54 +0900 Subject: [PATCH] INSTALL_INTERFACE --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 542d22a9..abbeae93 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -159,6 +159,7 @@ add_library(gtsam_points SHARED target_include_directories(gtsam_points PUBLIC $ $ + $ ) target_link_libraries(gtsam_points Boost::boost @@ -203,6 +204,7 @@ if(BUILD_WITH_CUDA) ) target_include_directories(gtsam_points_cuda PUBLIC $ + $ ) target_link_libraries(gtsam_points_cuda Boost::boost @@ -273,7 +275,7 @@ endif() ############# include(GNUInstallDirs) -install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) +install(DIRECTORY include/ thirdparty/nanoflann/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) list(APPEND GTSAM_POINTS_LIBRARIES gtsam_points) if(BUILD_WITH_CUDA)