We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d07cd61 + 65ade25 commit bfafadaCopy full SHA for bfafada
eigenpyConfig.cmake
@@ -2,5 +2,13 @@ cmake_minimum_required(VERSION 2.8.3)
2
3
message(STATUS "Loading eigenpy from PkgConfig")
4
5
-find_package(PkgConfig)
+find_package(PkgConfig REQUIRED)
6
pkg_check_modules(eigenpy REQUIRED eigenpy)
7
+
8
+# find absolute library paths for all eigenpy_LIBRARIES
9
+set(libs ${eigenpy_LIBRARIES})
10
+set(eigenpy_LIBRARIES "")
11
+foreach(lib ${libs})
12
+ find_library(abs_lib_${lib} ${lib} HINTS ${eigenpy_LIBRARY_DIRS})
13
+ list(APPEND eigenpy_LIBRARIES "${abs_lib_${lib}}")
14
+endforeach()
0 commit comments