Merge pull request #1022 from GermanAizek/patch-1

Speedup compilation on all platforms
This commit is contained in:
Charles J. Cliffe
2026-09-16 22:53:04 -04:00
committed by GitHub
+10
View File
@@ -184,6 +184,16 @@ ADD_DEFINITIONS(
-DUSE_SOAPY_SDR=1
)
find_program(CCACHE "ccache")
if(CCACHE)
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE})
set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE})
if(APPLE)
set(CMAKE_OBJCXX_COMPILER_LAUNCHER ${CCACHE})
endif()
set(ENV{CCACHE_SLOPPINESS} pch_defines,time_macros)
endif(CCACHE)
IF (WIN32)
set(wxWidgets_USE_STATIC ON)