mirror of
https://github.com/wownero/wownero.git
synced 2026-10-17 07:31:35 +02:00
Merge pull request #11099
67d99a9 cmake: enable compiler caching support for rust libraries (jpk68)
ACKs: tobtoht, selsta
This commit is contained in:
+1
-2
@@ -69,8 +69,7 @@ elseif (COMPILER_CACHE STREQUAL "auto")
|
||||
message(STATUS "Using sccache: ${SCCACHE}")
|
||||
set(CMAKE_C_COMPILER_LAUNCHER "${SCCACHE}")
|
||||
set(CMAKE_CXX_COMPILER_LAUNCHER "${SCCACHE}")
|
||||
# Remove this line and uncomment the one below when FCMP++ Rust libraries are merged.
|
||||
# set(ENV{RUSTC_WRAPPER} "${SCCACHE}")
|
||||
set(ENV{RUSTC_WRAPPER} "${SCCACHE}")
|
||||
elseif (CCACHE)
|
||||
message(STATUS "Using ccache: ${CCACHE}")
|
||||
set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE}")
|
||||
|
||||
Reference in New Issue
Block a user