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. |
||
|---|---|---|
| .. | ||
| src | ||
| CMakeLists.txt | ||
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. |
||
|---|---|---|
| .. | ||
| src | ||
| CMakeLists.txt | ||
A Fortis Scientia site