aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Perez <aperezdc@users.noreply.github.com>2018-03-26 16:41:18 +0100
committerEugene Kliuchnikov <eustas@google.com>2018-03-26 21:41:18 +0600
commit515fc62313d7af4ee133c4a590b1afe14fbf1d60 (patch)
treed496c5b31ad0ff1ec7d4372c6e9ad0783ed6374a
parent2c0348256935aa8aad46bd46dceca3cc93f5a388 (diff)
downloadbrotli-515fc62313d7af4ee133c4a590b1afe14fbf1d60.zip
brotli-515fc62313d7af4ee133c4a590b1afe14fbf1d60.tar.gz
brotli-515fc62313d7af4ee133c4a590b1afe14fbf1d60.tar.bz2
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.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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