Browse Source

Merge pull request #14146 from neheb/summ

sumo: fix compilation with ccache
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
44728d0557
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions
  1. +1
    -1
      utils/sumo/Makefile
  2. +15
    -0
      utils/sumo/patches/010-ccache.patch

+ 1
- 1
utils/sumo/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=sumo
PKG_VERSION:=1.7.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-src-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/sumo


+ 15
- 0
utils/sumo/patches/010-ccache.patch View File

@ -0,0 +1,15 @@
--- 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/")

Loading…
Cancel
Save