SFML/cmake/Modules
Manu343726 9558c6d689 Correctly add XCB components if no components are requested
This commit fixes the FindXCB.cmake module for the case no components
are requested. The previous version assigned `XCB_FIND_COMPONENTS`
list to an empty variable name.

I was lucky enough to catch the bug in a corner case where both
`XCB_COMPONENTS` and `XCB_FIND_COMPONENTS` were empty and `set()`
command failed, but note this awesome CMake language supports more annoying
corner cases like `XCB_COMPONENTS` empty and `XCB_FIND_COMPONENTS`
with two elements, which results in the following `set()` invocation:

``` cmake
set(${XCB_FIND_COMPONENTS[0]} ${XCB_FIND_COMPONENTS[1]})
```

So always beware of CMake secret charms...
2016-08-24 14:05:17 +02:00
..
FindEGL.cmake Fix whitespace: Convert tabs to spaces and remove trailing whitespace. 2015-04-15 01:53:43 +02:00
FindFLAC.cmake Marked the FLAC/Vorbis/Ogg variables as advanced 2015-03-04 09:36:23 +01:00
FindFreetype.cmake Added the FindFreetype.cmake CMake module, set the minimum require CMake version to 2.8.3 and fixed the paths to the FreeType headers. 2015-03-21 10:30:31 +01:00
FindGLES.cmake Fix whitespace: Convert tabs to spaces and remove trailing whitespace. 2015-04-15 01:53:43 +02:00
FindSFML.cmake Change comment chars in FindSFML.cmake to # 2016-06-05 00:08:55 +02:00
FindUDev.cmake Fix whitespace: Convert tabs to spaces and remove trailing whitespace. 2015-04-15 01:53:43 +02:00
FindVorbis.cmake Marked the FLAC/Vorbis/Ogg variables as advanced 2015-03-04 09:36:23 +01:00
FindXCB.cmake Correctly add XCB components if no components are requested 2016-08-24 14:05:17 +02:00