1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 03:13:54 +02:00
openwrt-packages/utils/sumo/patches/010-ccache.patch
Rosen Penev bd33076a23
sumo: fix compilation with ccache
sumo's builtin support for ccache doesn't work well with the one in
base. Remove it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 22:42:49 -08:00

16 lines
449 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,12 +29,6 @@ project(SUMO)
set(PACKAGE_VERSION "1.7.0")
cmake_minimum_required(VERSION 3.1)
-find_program(CCACHE_FOUND "ccache")
-if (CCACHE_FOUND AND CCACHE_SUPPORT)
- message(STATUS "Enabling ccache")
- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "ccache")
-endif()
-
set(CMAKE_COLOR_MAKEFILE ON)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/build/cmake_modules/")