Skip to content
Snippets Groups Projects
Verified Commit 8ba32fee authored by Justin Carpentier's avatar Justin Carpentier
Browse files

package: remove manual generation of eigenpyConfig.cmake

parent 16b247f0
No related branches found
No related tags found
No related merge requests found
......@@ -157,10 +157,6 @@ INSTALL(FILES
${CMAKE_CURRENT_BINARY_DIR}/eigenpy/${PROJECT_NAME}_export.h
DESTINATION include/eigenpy)
# This is a temporary work-around to fix MoveIt until jrl-cmakemodules
# can correctly create non-target CMake configs
install(FILES eigenpyConfig.cmake DESTINATION share/eigenpy/cmake)
# Install package for ROS
install(FILES package.xml DESTINATION share/eigenpy)
......
cmake_minimum_required(VERSION 2.8.3)
message(STATUS "Loading eigenpy from PkgConfig")
find_package(PkgConfig REQUIRED)
pkg_check_modules(eigenpy REQUIRED eigenpy)
# find absolute library paths for all eigenpy_LIBRARIES
set(libs ${eigenpy_LIBRARIES})
set(eigenpy_LIBRARIES "")
foreach(lib ${libs})
find_library(abs_lib_${lib} ${lib} HINTS ${eigenpy_LIBRARY_DIRS})
list(APPEND eigenpy_LIBRARIES "${abs_lib_${lib}}")
endforeach()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment