From 515fc62313d7af4ee133c4a590b1afe14fbf1d60 Mon Sep 17 00:00:00 2001 From: Adrian Perez Date: Mon, 26 Mar 2018 16:41:18 +0100 Subject: Tell CMake to not check for a C++ compiler (#653) By default CMake checks both for C and C++ compilers, while the latter is not needed. Setting the list of languages to just "C" in the call to project() removes the unneeded check. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 2dc7232..99b9258 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ # support 2.8.7. cmake_minimum_required(VERSION 2.8.6) -project(brotli) +project(brotli C) # If Brotli is being bundled in another project, we don't want to # install anything. However, we want to let people override this, so -- cgit v1.1