mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
- Fix build with ccache [1] PR: 283660 Reported by: Vadim Belman <vrurg _at__ lflat.org> [1]
12 lines
526 B
CMake
12 lines
526 B
CMake
--- cmake/BareosCcache.cmake 2024-12-31 23:51:38.882883000 -0800
|
|
+++ cmake/BareosCcache.cmake 2024-12-31 23:51:48.133339000 -0800
|
|
@@ -20,9 +20,6 @@
|
|
find_program(CCACHE_PROGRAM ccache)
|
|
if(CCACHE_PROGRAM)
|
|
set(CCACHE_CMDLINE "${CCACHE_PROGRAM}")
|
|
- list(APPEND CCACHE_CMDLINE "base_dir=${CMAKE_SOURCE_DIR}")
|
|
- list(APPEND CCACHE_CMDLINE "hash_dir=true")
|
|
- list(APPEND CCACHE_CMDLINE "namespace=bareos")
|
|
set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE_CMDLINE}")
|
|
set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_CMDLINE}")
|
|
endif()
|