diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 618d6a6b8f92ee68a17cfcb7a992013616640625..44fa1e352195ab057f8bb47a889545f5093c1683 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -25,6 +25,8 @@ ENDIF (NOT (\"${CMAKE_VERBOSITY_LEVEL}\" STREQUAL \"\"))
 
 # Declare that dynamic-graph shared library is being built.
 ADD_DEFINITIONS(-DBUILDING_DYNAMIC_GRAPH)
+# Declare boost include directories
+include_directories(${Boost_INCLUDE_DIRS})
 
 ADD_LIBRARY(${LIBRARY_NAME}
   SHARED
diff --git a/unitTesting/CMakeLists.txt b/unitTesting/CMakeLists.txt
index aca0453ab50b5320c8d77e7d7cbb2f51a006fe6c..f6bc161df1be555fe23b5b91425bac1a4945fa0a 100644
--- a/unitTesting/CMakeLists.txt
+++ b/unitTesting/CMakeLists.txt
@@ -13,6 +13,9 @@
 # received a copy of the GNU Lesser General Public License along with
 # dynamic-graph. If not, see <http://www.gnu.org/licenses/>.
 
+# Declare boost include directories
+include_directories(${Boost_INCLUDE_DIRS})
+
 ### tests
 SET(tests_exe
 	test_pool