You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by ma...@apache.org on 2015/12/30 16:52:33 UTC

svn commit: r1722365 - in /avro/branches/branch-1.8: CHANGES.txt lang/c/CMakeLists.txt

Author: martinkl
Date: Wed Dec 30 15:52:33 2015
New Revision: 1722365

URL: http://svn.apache.org/viewvc?rev=1722365&view=rev
Log:
AVRO-1560: C: Fix build for custom libsnappy location. Contributed by Ujjwal.

Modified:
    avro/branches/branch-1.8/CHANGES.txt
    avro/branches/branch-1.8/lang/c/CMakeLists.txt

Modified: avro/branches/branch-1.8/CHANGES.txt
URL: http://svn.apache.org/viewvc/avro/branches/branch-1.8/CHANGES.txt?rev=1722365&r1=1722364&r2=1722365&view=diff
==============================================================================
--- avro/branches/branch-1.8/CHANGES.txt (original)
+++ avro/branches/branch-1.8/CHANGES.txt Wed Dec 30 15:52:33 2015
@@ -233,6 +233,8 @@ Avro 1.8.0 (15 December 2015)
     AVRO-1617: C: Fix equality checking of record schemas. (Skye
     Wanderman-Milne via martinkl)
 
+    AVRO-1560: C: Fix build for custom libsnappy location. (Ujjwal via martinkl)
+
 Avro 1.7.7 (23 July 2014)
 
   NEW FEATURES

Modified: avro/branches/branch-1.8/lang/c/CMakeLists.txt
URL: http://svn.apache.org/viewvc/avro/branches/branch-1.8/lang/c/CMakeLists.txt?rev=1722365&r1=1722364&r2=1722365&view=diff
==============================================================================
--- avro/branches/branch-1.8/lang/c/CMakeLists.txt (original)
+++ avro/branches/branch-1.8/lang/c/CMakeLists.txt Wed Dec 30 15:52:33 2015
@@ -144,6 +144,7 @@ find_package(Snappy)
 if (SNAPPY_FOUND AND ZLIB_FOUND)  # Snappy borrows crc32 from zlib
     set(SNAPPY_PKG libsnappy)
     add_definitions(-DSNAPPY_CODEC)
+    include_directories(${SNAPPY_INCLUDE_DIR})
     message("Enabled snappy codec")
 else (SNAPPY_FOUND AND ZLIB_FOUND)
     set(SNAPPY_PKG "")