FindBoostUUID reset Boost_LIBRARIES varialbe when used with last CMake version
|Assignee:||J. Wienke||% Done:|
|Target version:||Robotics Service Bus - rsb-0.9|
The FindBoostUUID.cmake reset the Boost_LIBRARIES variable because it calls FindBoost without any component. The last version of FindBoost.cmake from CMake reset the Boost_LIBRARIES variable on every call.
#1 Updated by J. Wienke over 9 years ago
I have no idea how to solve this correctly. FindBoostUUID can never know what a previous caller might have indicated as a component array.
Generally I would say we can start to drop this macro, because boost uuid is included in boost since some time now, but we still have some special systems using lucid, and in lucid uuid was not included.
#3 Updated by S. Herbrechtsmeier over 9 years ago
They change the behaviour with this commit: http://cmake.org/gitweb?p=cmake.git;a=commit;h=0100f88e298c6766d60108537010ede0f83da1dd
Can't you test Boost_FOUND and if it isn't set you can call FindBoost?