diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2f0d3e3df7d902f8b27fdb85a6a7cf7fc5e9ce89..88110f6c9106d49cbd5d15f026fd1fd45632fe02 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -61,6 +61,6 @@ DEPENDENCYCHECK( ${stuff} )
 ADD_DEFINITIONS( ${MY_CXX_FLAGS} )
 
 add_subdirectory(dune)
+add_subdirectory(examples)
+
 
-ADD_EXECUTABLE( examples_grid_provider_cube "examples/grid/provider/cube.cc" ${COMMON_HEADERS} )
-TARGET_LINK_LIBRARIES( examples_grid_provider_cube "dunegrid" "dunecommon"  ${CCGNU_LIBRARIES} "boost_filesystem" )