← Back to team overview

kicad-developers team mailing list archive

Boost dependencies

 

Today I saw an error during the boost build:
fatal error: bzlib.h: No such file or directory

Would not it be good to add bzip2 dependency to download_boost.cmake script, so users will get a clear message before an attempt to build the library?

Regards,
Orson
=== modified file 'CMakeModules/download_boost.cmake'
--- CMakeModules/download_boost.cmake	2013-11-12 12:44:30 +0000
+++ CMakeModules/download_boost.cmake	2013-11-14 16:22:33 +0000
@@ -58,7 +58,7 @@
 
 #-----</configure>---------------------------------------------------------------
 
-
+find_package( BZip2 REQUIRED )
 
 string( REGEX REPLACE "\\." "_" BOOST_VERS "${BOOST_RELEASE}" )
 set( PREFIX ${DOWNLOAD_DIR}/boost_${BOOST_VERS} )


Follow ups