diff --git a/cmake/modules/DuneMacros.cmake b/cmake/modules/DuneMacros.cmake
index ebd400120555aadc884c0e11bf6cbdc5ad5c8aae..0b69c03ff8ca98149d779bbea6809bb562e9a6bd 100644
--- a/cmake/modules/DuneMacros.cmake
+++ b/cmake/modules/DuneMacros.cmake
@@ -670,6 +670,10 @@ macro(dune_project)
     exec_program(chmod ARGS "+x ${CMAKE_BINARY_DIR}/compiler.sh")
     set(CMAKE_CXX_COMPILER ${CMAKE_BINARY_DIR}/compiler.sh)
   endif()
+
+  if(DUNE_SYMLINK_TO_SOURCE_TREE)
+    dune_symlink_to_source_tree()
+  endif()
 endmacro(dune_project)
 
 # create a new config.h file and overwrite the existing one