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 2011/10/07 10:59:35 UTC

svn commit: r1179968 - in /avro/trunk: CHANGES.txt lang/c++/CMakeLists.txt

Author: thiru
Date: Fri Oct  7 08:59:34 2011
New Revision: 1179968

URL: http://svn.apache.org/viewvc?rev=1179968&view=rev
Log:
AVRO-904. C++/CMake build should fail if Boost libraries are not present

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=1179968&r1=1179967&r2=1179968&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Fri Oct  7 08:59:34 2011
@@ -123,6 +123,8 @@ Avro 1.6.0 (unreleased)
 
     AVRO-903. C++/Cmake build fails to find Boost libraries. (Nebojsa Sabovic via thiru)
 
+    AVRO-904. C++/CMake build should fail if Boost libraries are not present. (Nebojsa Sabovic via thiru)
+
 Avro 1.5.4 (12 September 2011)
 
   IMPROVEMENTS

Modified: avro/trunk/lang/c++/CMakeLists.txt
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c%2B%2B/CMakeLists.txt?rev=1179968&r1=1179967&r2=1179968&view=diff
==============================================================================
--- avro/trunk/lang/c++/CMakeLists.txt (original)
+++ avro/trunk/lang/c++/CMakeLists.txt Fri Oct  7 08:59:34 2011
@@ -34,7 +34,8 @@ set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${BU
 
 project (Avro-cpp)
 
-find_package (Boost 1.38 COMPONENTS regex filesystem system program_options)
+find_package (Boost 1.38 REQUIRED
+    COMPONENTS regex filesystem system program_options)
 
 include_directories (api ${BUILD_DIRECTORY} ${Boost_INCLUDE_DIRS})