cmake: Add LANGUAGE C to fix find_package(Clang REQUIRED) error

This commit is contained in:
Fangrui Song 2021-12-15 10:13:29 -08:00
parent 5a48e6c419
commit dce86b1362

View File

@ -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)