git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
41a8c43
)
Define ccache as OBJCXX compiler launcher on apple platforms
author
CryptoManiac
<balthazar.ad@gmail.com>
Fri, 24 Dec 2021 08:13:48 +0000 (11:13 +0300)
committer
CryptoManiac
<balthazar.ad@gmail.com>
Fri, 24 Dec 2021 08:13:48 +0000 (11:13 +0300)
CMakeLists.txt
patch
|
blob
|
history
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)