This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
include (CMakeForceCompiler) |
| 2 |
option(ENABLE_ICECC "Enable icecc checking, for distributed compilation") |
| 3 |
if (ENABLE_ICECC) |
| 4 |
find_program(ICECC icecc) |
| 5 |
if (ICECC) |
| 6 |
message(STATUS "icecc found! Distributed compilation for all!! huhuhu.") |
| 7 |
cmake_force_cxx_compiler(${ICECC} icecc) |
| 8 |
else(ICECC) |
| 9 |
message(FATAL_ERROR "icecc NOT found! re-run cmake without -DENABLE_ICECC") |
| 10 |
endif(ICECC) |
| 11 |
endif(ENABLE_ICECC) |