Re: [cmake-developers] Recommendations for reducing spurious link dependencies?

2014-02-22 Thread Ben Boeckel
On Fri, Feb 21, 2014 at 19:59:44 -0800, Dave Abrahams wrote: > Thanks, but as far as I can tell, only static libraries are involved here Would it be possible to build them as shared for a one-time run? If not, you may be left with --gc-sections or removing all library linkings until you get no mis

Re: [cmake-developers] [New Module] FindOpenCL, FindHg

2014-02-22 Thread Rolf Eike Beer
Am Samstag, 8. Februar 2014, 14:28:37 schrieb Matthäus G. Chajdas: > Hi, > > I would like to propose two new modules for inclusion in CMake: > FindOpenCL to find OpenCL and FindHg for Mercurial (see attached.) > FindOpenCL is written in similar spirit to FindOpenGL, while FindHg is > basically the

[cmake-developers] [PATCH] fix version handling in find_dependency macro

2014-02-22 Thread Alex Merry
The handling of the optional version argument in the find_dependency() macro is just wrong. It is only set if ${ARGV1} (rather than ARGV1) evaluates to true, and otherwise it remains unchanged from whatever its previous value was (instead of being cleared). Either of the attached patches fixes th