]> git.ipfire.org Git - thirdparty/ccache.git/commit
build: Set both C/CXX launchers if either is set (#1343)
authorRafael Kitover <rkitover@gmail.com>
Sat, 16 Dec 2023 15:19:33 +0000 (07:19 -0800)
committerGitHub <noreply@github.com>
Sat, 16 Dec 2023 15:19:33 +0000 (16:19 +0100)
commit95e58aafdc21dab7a9cb97f427cb10b945f56c83
treea00e0a96a7eb6c69d301903688dc002d159ab61f
parentf2282fb81bd908b869105882ac35644235a9f5e3
build: Set both C/CXX launchers if either is set (#1343)

Add cmake/EnableCcache.cmake and load it from the main file.

Make the standard cmake variables CMAKE_CXX_COMPILER_LAUNCHER and
CMAKE_C_COMPILER_LAUNCHER consistent with each other if either is not
set.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
CMakeLists.txt
cmake/EnableCcache.cmake [new file with mode: 0644]