Instead of wrapping the whole subdirectory's CMakeLists in a gigantic if block, we use if(NOT HAVE_FOO) + return() This is tidier since it keeps the indentation generally consistent across all CMakeLists files. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| config_x11display.cxx | ||
| config_x11display.h | ||
| p3x11display_composite1.cxx | ||
| x11GraphicsPipe.I | ||
| x11GraphicsPipe.cxx | ||
| x11GraphicsPipe.h | ||
| x11GraphicsWindow.I | ||
| x11GraphicsWindow.cxx | ||
| x11GraphicsWindow.h | ||