-
Notifications
You must be signed in to change notification settings - Fork 95
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
Fix find Poco to return full lib path #8
Conversation
@@ -169,7 +169,8 @@ IF(Poco_INCLUDE_DIR) | |||
FOREACH(COMPONENT ${Poco_FIND_COMPONENTS}) | |||
FIND_LIBRARY(LIB${COMPONENT} "Poco${COMPONENT}" Poco_LIBRARY_DIR) | |||
IF (LIB${COMPONENT}) | |||
LIST(APPEND Poco_LIBRARIES "Poco${COMPONENT}${DBG}") | |||
# LIST(APPEND Poco_LIBRARIES "Poco${COMPONENT}${DBG}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should go away. We have the git history for that.
I updated the pull request. |
It builds on OS X, I haven't tested Linux. |
@dirk-thomas @mirzashah Can I get a review/merge on this? |
With the debug suffix being readded +1 |
It builds on linux with for me and passes all unit tests |
Fix find Poco to return full lib path
This needs to get merged into hydro-devel! I probably opened against the wrong branch, or the hydro-devel branch get created during after I opened it. |
@wjwwood This is what happens when I'm not there to calm your mind with soothing camel sounds... |
Changes since 0.1.29: 0.3.0 (2014-06-25) ------------------ * Use system-provided console-bridge * Contributors: Esteve Fernandez 0.2.5 (2014-03-04) ------------------ * Changed format of debug messages so that rosconsole_bridge can correctly parse the prefix * Improved debug output 0.2.4 (2014-02-12) ------------------ * fix race condition with multi threaded library loading (`#16 <https://github.com/ros/class_loader/issues/16>`_) 0.2.3 (2013-08-21) ------------------ * fix missing class name in logWarn output 0.2.2 (2013-07-14) ------------------ * check for CATKIN_ENABLE_TESTING (`#10 <https://github.com/ros/class_loader/issues/10>`_) * fix find Poco to return full lib path (`#8 <https://github.com/ros/class_loader/issues/8>`_) * add missing runtime destination for library under Windows * add Boosst component system 0.2.1 (2013-06-06) ------------------ * improve check for Poco foundation and headers (`#7 <https://github.com/ros/class_loader/issues/7>`_) 0.2.0 (2013-03-13) ------------------ * use find_package for Poco/dl instead to make it work on other platforms * update Poco cmake file to include libdl on non-windows systems * No longer CATKIN_DEPEND on console_bridge Remove useless patches that have been fixed upstream
On OS X, when building dependencies (Poco) into a location which is not on the lib path, I can get this:
It is passing
-LPocoFoundation
, to the linker, so in that case you would also need to pass the-L/path/containing/that/lib
, OR you can do what this pull request does and just pass the full path to the library, which is better form I think.