Skip to content

Commit

Permalink
Fix system install
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Gesel <paul.gesel@picknik.ai>
  • Loading branch information
pac48 committed Nov 10, 2024
1 parent d5db7ff commit 4339533
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ add_library(fast_forward_kinematics_header INTERFACE)
target_include_directories(
fast_forward_kinematics_header
INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>)
$<INSTALL_INTERFACE:include/fast_forward_kinematics>)
if(BUILD_TESTING)
add_subdirectory(test)
endif()
Expand Down Expand Up @@ -56,4 +56,4 @@ export(EXPORT fast_forward_kinematicsTargets
install(
EXPORT fast_forward_kinematicsTargets
FILE fast_forward_kinematics-targets.cmake
DESTINATION lib/cmake/fast_forward_kinematics)
DESTINATION "${CMAKE_INSTALL_DATADIR}/fast_forward_kinematics/cmake")
3 changes: 1 addition & 2 deletions fast_forward_kinematics-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ set(FFK_VERSION_MINOR @FFK_VERSION_MINOR@)
set(FFK_VERSION @FFK_VERSION@)

set(fast_forward_kinematics_FOUND ON)
set_and_check(fast_forward_kinematics_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")

include("${CMAKE_CURRENT_LIST_DIR}/fast_forward_kinematics-targets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/fast_forward_kinematics.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/fast_forward_kinematics.cmake")

0 comments on commit 4339533

Please sign in to comment.