Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
eigenpy
Commits
bfafadab
Unverified
Commit
bfafadab
authored
Nov 08, 2019
by
Justin Carpentier
Committed by
GitHub
Nov 08, 2019
Browse files
Merge pull request #109 from rhaschke/master
eigenpyConfig.cmake: find absolute library paths for all required libs
parents
d07cd611
65ade259
Changes
1
Hide whitespace changes
Inline
Side-by-side
eigenpyConfig.cmake
View file @
bfafadab
...
...
@@ -2,5 +2,13 @@ cmake_minimum_required(VERSION 2.8.3)
message
(
STATUS
"Loading eigenpy from PkgConfig"
)
find_package
(
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
()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment