From: Joel Rosdahl Date: Wed, 8 Jun 2022 13:53:29 +0000 (+0200) Subject: build: Make it possible to opt out of probing for fastest linker X-Git-Tag: v4.7~195 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f6ed3be515711937133f0df98ec9eaa74e67fa9;p=thirdparty%2Fccache.git build: Make it possible to opt out of probing for fastest linker --- diff --git a/cmake/UseFastestLinker.cmake b/cmake/UseFastestLinker.cmake index b38833cff..345ef1df5 100644 --- a/cmake/UseFastestLinker.cmake +++ b/cmake/UseFastestLinker.cmake @@ -5,6 +5,11 @@ if(NOT CCACHE_DEV_MODE) return() endif() +if(DISABLE_FASTEST_LINKER) + message(STATUS "Not probing for fastest linker") + return() +endif() + if(MSVC) message(STATUS "Using standard linker for MSVC") return()