From dce86b1362acbabb8f997869fdaa27adc67f9a55 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 15 Dec 2021 10:13:29 -0800 Subject: [PATCH] cmake: Add LANGUAGE C to fix find_package(Clang REQUIRED) error --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b52b48e..d43279ab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.8) -project(ccls LANGUAGES CXX) +project(ccls LANGUAGES CXX C) option(USE_SYSTEM_RAPIDJSON "Use system RapidJSON instead of the git submodule if exists" ON)