diff options
author | Guillaume Solignac <gsoligna@cisco.com> | 2023-01-11 11:56:29 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2023-01-18 10:10:59 +0000 |
commit | 893a0c3130e1d868c939db6dcde258da1277cf41 (patch) | |
tree | b75a1ed7b7ab53213eb1efbaa359d27f144582cb /src/plugins/lldp/lldp_cli.c | |
parent | 5d2346801b27b4732fc4c2a8f0895f214183d8b6 (diff) |
build: use CMAKE_C_COMPILER_LAUNCHER for ccache
In some situations, CMake will find ccache in /usr/bin but /usr/bin
might not present in PATH. The former fix for this was to place the
ccache configuration logic before the project() declaration, but since
CMake 3.4 there is a new variable to be used which handles this case.
For the original problem, see also
https://crascit.com/2016/04/09/using-ccache-with-cmake/
Type: fix
Signed-off-by: Guillaume Solignac <gsoligna@cisco.com>
Change-Id: Ie026e02b2b06e2dca2d62da5fea7b1a104bcc7c3
Diffstat (limited to 'src/plugins/lldp/lldp_cli.c')
0 files changed, 0 insertions, 0 deletions