-
Notifications
You must be signed in to change notification settings - Fork 432
Modern CMake adjustements #91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 4 commits
6ac6c09
4ec06e3
845385d
534605e
9c44336
54fd789
3083a5b
90e9f55
135ee06
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -126,14 +126,15 @@ ENDIF() | |
| #####end RPATH | ||
|
|
||
| # Needed so that the generated config.h can be used | ||
| INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) | ||
| TARGET_INCLUDE_DIRECTORIES(orocos-kdl PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}> ) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This additionally needs a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Isn't that what is supposed to do here? From the documentation:
So probably both are valid approaches to achieve the same at the end. But having both might be redundant. |
||
| TARGET_LINK_LIBRARIES(orocos-kdl ${Boost_LIBRARIES}) | ||
|
|
||
| INSTALL(TARGETS orocos-kdl | ||
| EXPORT OrocosKDLTargets | ||
| ARCHIVE DESTINATION lib${LIB_SUFFIX} | ||
| LIBRARY DESTINATION lib${LIB_SUFFIX} | ||
| PUBLIC_HEADER DESTINATION include/kdl | ||
| INCLUDES DESTINATION include | ||
| ) | ||
|
|
||
| INSTALL(FILES ${UTIL_HPPS} DESTINATION include/kdl/utilities) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.