[cmake-developers] FindX11 change breaks complex test

Rolf Eike Beer eike at sf-mail.de
Wed Aug 15 13:28:03 EDT 2012


Bill Hoffman wrote:
> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=97c338bac910d087eff9b160e
> 3b68f2eeee482a5
> 
> 
> http://open.cdash.org/testDetails.php?test=156453780&build=2517168
> 
> CMake Error at /export/home/kitware/Dashboards/My
> Tests-SunOSsnv_135.11i86pc-gcc/CMake/Modules/FindX11.cmake:329 (list):
>    list sub-command REMOVE_DUPLICATES requires list to be present.
> Call Stack (most recent call first):
>    /export/home/kitware/Dashboards/My
> Tests-SunOSsnv_135.11i86pc-gcc/CMake/Modules/CMakeBackwardCompatibilityC.cma
> ke:56 (include)
>    CMakeLists.txt:5 (project)

I'll work around this for now, but I wonder if the restriction in 
list(REMOVE_DUPLICATES) actually makes sense. We don't give an error if there 
are no duplicates, why should we give an error if there are no items?

Eike
-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120815/0bbe5d41/attachment.sig>


More information about the cmake-developers mailing list