summaryrefslogtreecommitdiff
path: root/lib/curl_config.h.cmake
diff options
context:
space:
mode:
authorDon <don.j.olmstead@gmail.com>2018-03-16 12:49:13 -0700
committerDaniel Stenberg <daniel@haxx.se>2018-03-19 08:28:32 +0100
commitd22e5e02a2d3670a79cf09bed81613ca90738163 (patch)
tree17d5fbeaaf63b16be4f483d2beda2dd440b4bef0 /lib/curl_config.h.cmake
parentb7b2809a212a69f1ce59a25ba86b4f1d8a17ebc4 (diff)
downloadcurl-d22e5e02a2d3670a79cf09bed81613ca90738163.tar.gz
cmake: add support for brotli
Currently CMake cannot detect Brotli support. This adds detection of the libraries and associated header files. It also adds this to the generated config. Closes #2392
Diffstat (limited to 'lib/curl_config.h.cmake')
-rw-r--r--lib/curl_config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
index e640cc656..4b12083f2 100644
--- a/lib/curl_config.h.cmake
+++ b/lib/curl_config.h.cmake
@@ -398,6 +398,9 @@
/* if zlib is available */
#cmakedefine HAVE_LIBZ 1
+/* if brotli is available */
+#cmakedefine HAVE_BROTLI 1
+
/* if your compiler supports LL */
#cmakedefine HAVE_LL 1