[cmake-developers] [patch] FindBoost: Mark Boost_LIBRARY_DIR_[RELEASE, DEBUG] cache entries as advanced

Sylvain Joubert joubert.sy at gmail.com
Sat May 30 09:50:37 EDT 2015


Hello,

The recent development to support different LIBRARY_DIR for Boost have 
made the new cache entries appear in the default cache.

I have searched in the code history of the FindBoost.cmake file to find 
why the old Boost_LIBRARY_DIR was "marked" as advanced while the new 
ones do not, ... and I failed.
Especially, I couldn't find any mark_as_advanced(Boost_LIBRARY_DIR) that 
was not reported to the new variables
I am guessing either there is something weird, a bug elsewhere or I'm 
most likely missing something.
If someone is able to find the explanation it would be nice.

Anyway, here is a patch that marks the new variables as advanced.
But, depending on the answer to my history related interrogation it may 
not be the best patch to fix the issue.

Sylvain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-FindBoost-Mark-Boost_LIBRARY_DIR_-RELEASE-DEBUG-cach.patch
Type: text/x-patch
Size: 961 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150530/e62c9c0a/attachment.bin>


More information about the cmake-developers mailing list