Moved cmake macros to a separeted file.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
parent
24cbdd8dfa
commit
3c7f55855b
5 changed files with 170 additions and 161 deletions
11
icecc.cmake
11
icecc.cmake
|
|
@ -1,11 +0,0 @@
|
|||
include (CMakeForceCompiler)
|
||||
option(ENABLE_ICECC "Enable icecc checking, for distributed compilation")
|
||||
if (ENABLE_ICECC)
|
||||
find_program(ICECC icecc)
|
||||
if (ICECC)
|
||||
message(STATUS "icecc found! Distributed compilation for all!! huhuhu.")
|
||||
cmake_force_cxx_compiler(${ICECC} icecc)
|
||||
else(ICECC)
|
||||
message(FATAL_ERROR "icecc NOT found! re-run cmake without -DENABLE_ICECC")
|
||||
endif(ICECC)
|
||||
endif(ENABLE_ICECC)
|
||||
Loading…
Add table
Add a link
Reference in a new issue