From 3c8750dfb3b9cef1af2e29159782b443dfcd32ff Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Fri, 22 Sep 2017 22:08:26 +0000 Subject: [PATCH] Revert "CMake: Print a warning if CCACHE_CPP2 is unset." CCACHE_CPP2 / run_second_cpp is enabled by default in ccache 3.3 and later. (Unfortunately our builders have 3.2.4 installed.) This reverts commit ed1ecfb39cf0f3344810fabb7a1b855d373aa0a8. Change-Id: I3cc88fa70bb04db5ae254bc9b878ce379e47527d Reviewed-on: https://code.wireshark.org/review/23658 Reviewed-by: Gerald Combs --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5596cafa3a..d06049c5a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1291,10 +1291,6 @@ if(ENABLE_CCACHE AND (CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Cl if(CCACHE_EXECUTABLE) set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_EXECUTABLE}") set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK "${CCACHE_EXECUTABLE}") - # http://peter.eisentraut.org/blog/2014/12/01/ccache-and-clang-part-3/ - if(CMAKE_C_COMPILER_ID MATCHES "Clang" AND NOT DEFINED(ENV{CCACHE_CPP2})) - message(WARNING "You're compiling using clang and ccache but CCACHE_CPP2 unset. This might produce unwanted warnings.") - endif() endif() endif()