X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=CMakeLists.txt;h=4a53e43f6f06e64c3a96b716f3da5843df86d164;hp=33423428084ebf5dbd05492620c836bf623d689c;hb=b53e854480d6e3f446c6aab9507b27a372524034;hpb=41a8c43a751fc85b4053976a998a496260fd8e8b diff --git a/CMakeLists.txt b/CMakeLists.txt index 3342342..4a53e43 100644 --- 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)