Author: martinkl
Date: Wed Dec 30 15:52:56 2015
New Revision: 1722366
URL: http://svn.apache.org/viewvc?rev=1722366&view=rev
Log:
AVRO-1560: C: Fix build for custom libsnappy location. Contributed by Ujjwal.
Modified:
avro/trunk/CHANGES.txt
avro/trunk/lang/c/CMakeLists.txt
Modified: avro/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=1722366&r1=1722365&r2=1722366&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Wed Dec 30 15:52:56 2015
@@ -245,6 +245,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/trunk/lang/c/CMakeLists.txt
URL:
http://svn.apache.org/viewvc/avro/trunk/lang/c/CMakeLists.txt?rev=1722366&r1=1722365&r2=1722366&view=diff
==============================================================================
--- avro/trunk/lang/c/CMakeLists.txt (original)
+++ avro/trunk/lang/c/CMakeLists.txt Wed Dec 30 15:52:56 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 "")