--- src/CMakeLists.txt.orig	2010-09-07 01:55:58.000000000 +0400
+++ src/CMakeLists.txt	2013-01-21 15:44:34.000000000 +0400
@@ -1,6 +1,5 @@
 # $Id: CMakeLists.txt 52 2009-10-11 00:40:04Z mimo $
 #
-set(Boost_USE_STATIC_LIBS TRUE)
 
 set(dbiwrapped_PATH dbiwrapped-0.0.1)
 set(dbiwrapped_INCLUDE_DIRS ${dbiwrapped_PATH})
@@ -12,7 +11,7 @@
 
 find_library(PTHREADS_LIB pthread)
 
-find_package( Boost 1.35 COMPONENTS thread)
+find_package(Boost 1.49 COMPONENTS thread REQUIRED)
 
 include_directories(${CMAKE_CURRENT_BINARY_DIR} ${dbiwrapped_INCLUDE_DIRS} 
  ${threadpool_INCLUDE_PATH} )
