git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Define ccache as OBJCXX compiler launcher on apple platforms
[novacoin.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
3342342
..
4a53e43
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-27,6
+27,9
@@
find_program(CCACHE_FOUND ccache)
if(CCACHE_FOUND)
set(CMAKE_C_COMPILER_LAUNCHER ccache)
set(CMAKE_CXX_COMPILER_LAUNCHER ccache)
+ if (APPLE)
+ set(CMAKE_OBJCXX_COMPILER_LAUNCHER ccache)
+ endif()
endif(CCACHE_FOUND)
set(CMAKE_AUTOMOC ON)