You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by th...@apache.org on 2021/03/22 09:40:36 UTC

[avro] branch master updated: AVRO-3087: fix c++ build if snappy is not found (#1145)

This is an automated email from the ASF dual-hosted git repository.

thiru pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/master by this push:
     new f0ee46d  AVRO-3087: fix c++ build if snappy is not found (#1145)
f0ee46d is described below

commit f0ee46dbceb4327f50a552ff32ad8c7641b43781
Author: Mitja P <mi...@gmail.com>
AuthorDate: Mon Mar 22 10:40:30 2021 +0100

    AVRO-3087: fix c++ build if snappy is not found (#1145)
---
 lang/c++/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lang/c++/CMakeLists.txt b/lang/c++/CMakeLists.txt
index 28a272b..bf764ce 100644
--- a/lang/c++/CMakeLists.txt
+++ b/lang/c++/CMakeLists.txt
@@ -83,6 +83,7 @@ if (SNAPPY_FOUND)
 else (SNAPPY_FOUND)
     set(SNAPPY_PKG "")
     set(SNAPPY_LIBRARIES "")
+    set(SNAPPY_INCLUDE_DIR "")
     message("Disabled snappy codec. libsnappy not found.")
 endif (SNAPPY_FOUND)