summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2020-04-28 13:29:37 +0200
committerDave Barach <openvpp@barachs.net>2020-04-29 17:20:47 +0000
commit4ba16a44b1f091bacc32fe6fa9f726e9a0d3b0e7 (patch)
treef8b76516a9087eb3dbee9a5c63c04d7f412cda42 /src/CMakeLists.txt
parenta3108e65f396fa556e75dfe45b04a0bc3b6ec725 (diff)
misc: switch to clang-9
Type: improvement Change-Id: Iebf77a63c0c19b130a3fbd26b5293304a9fed4c1 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 89b4b962fdb..16ae7d5451d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -13,6 +13,8 @@
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
+set(CMAKE_C_COMPILER_NAMES clang-9 cc)
+
project(vpp C)
include(CheckCCompilerFlag)