disable-ccache
authorDebian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Wed, 16 Dec 2020 21:28:58 +0000 (22:28 +0100)
committerGeorges Khaznadar <georgesk@debian.org>
Wed, 2 Nov 2022 17:36:06 +0000 (17:36 +0000)
disabled the use of ccache, to prevent FTBFS; as the compilation is done once
it has no backdraws to make the debian package.

Gbp-Pq: Name disable-ccache.patch

CMakeLists.txt

index 4f9c55142f3208f1284196c6d5a32c4639f40ced..88ac08a22300d5f8aaadadc95a6663904bc3be74 100644 (file)
@@ -144,12 +144,12 @@ add_definitions(-DBOOST_CHRONO_HEADER_ONLY -DBOOST_CONFIG_SUPPRESS_OUTDATED_MESS
 #############################################
 # Detect CCache
 
-find_program(CCacheExectuable ccache)
-if( CCacheExectuable )
-  # only used with >=cmake-3.4
-  set( CMAKE_C_COMPILER_LAUNCHER   "${CCacheExectuable}" )
-  set( CMAKE_CXX_COMPILER_LAUNCHER "${CCacheExectuable}" )
-endif()
+## find_program(CCacheExecutable ccache)
+## if( CCacheExecutable )
+##   # only used with >=cmake-3.4
+##   set( CMAKE_C_COMPILER_LAUNCHER   "${CCacheExecutable}" )
+##   set( CMAKE_CXX_COMPILER_LAUNCHER "${CCacheExecutable}" )
+## endif()
 
 #############################################
 # Options