diff --git a/tree/tree/CMakeLists.txt b/tree/tree/CMakeLists.txt
index 82626b1c043d72a30d563f0be430024d01ba2fc2..a8c622abc98b1333e9fb97e06a7f5e2a7ebbc75f 100644
--- a/tree/tree/CMakeLists.txt
+++ b/tree/tree/CMakeLists.txt
@@ -4,8 +4,111 @@
 ############################################################################
 
 ROOT_STANDARD_LIBRARY_PACKAGE(Tree
-                              DICTIONARY_OPTIONS "-writeEmptyRootPCM"
-                              LIBRARIES ${TBB_LIBRARIES}
-                              DEPENDENCIES Net RIO Thread Imt)
+  HEADERS
+    TBasket.h
+    TBasketSQL.h
+    TBranchBrowsable.h
+    TBranchCacheInfo.h
+    TBranchClones.h
+    TBranchElement.h
+    TBranch.h
+    TBranchObject.h
+    TBranchRef.h
+    TBranchSTL.h
+    TBufferSQL.h
+    TChainElement.h
+    TChain.h
+    TCut.h
+    TEntryListArray.h
+    TEntryListBlock.h
+    TEntryListFromFile.h
+    TEntryList.h
+    TEventList.h
+    TFriendElement.h
+    TIndArray.h
+    TLeafB.h
+    TLeafC.h
+    TLeafD.h
+    TLeafElement.h
+    TLeafF.h
+    TLeaf.h
+    TLeafI.h
+    TLeafL.h
+    TLeafObject.h
+    TLeafO.h
+    TLeafS.h
+    TNtupleD.h
+    TNtuple.h
+    TQueryResult.h
+    TreeUtils.h
+    TSelector.h
+    TSelectorList.h
+    TSelectorScalar.h
+    TTreeCache.h
+    TTreeCacheUnzip.h
+    TTreeCloner.h
+    TTree.h
+    TTreeResult.h
+    TTreeRow.h
+    TTreeSQL.h
+    TVirtualIndex.h
+    TVirtualTreePlayer.h
+    ROOT/TIOFeatures.hxx
+  SOURCES
+    src/TBasket.cxx
+    src/TBasketSQL.cxx
+    src/TBranchBrowsable.cxx
+    src/TBranchClones.cxx
+    src/TBranch.cxx
+    src/TBranchElement.cxx
+    src/TBranchIMTHelper.h
+    src/TBranchObject.cxx
+    src/TBranchRef.cxx
+    src/TBranchSTL.cxx
+    src/TBufferSQL.cxx
+    src/TChain.cxx
+    src/TChainElement.cxx
+    src/TCut.cxx
+    src/TEntryListArray.cxx
+    src/TEntryListBlock.cxx
+    src/TEntryList.cxx
+    src/TEntryListFromFile.cxx
+    src/TEventList.cxx
+    src/TFriendElement.cxx
+    src/TIOFeatures.cxx
+    src/TLeafB.cxx
+    src/TLeafC.cxx
+    src/TLeaf.cxx
+    src/TLeafD.cxx
+    src/TLeafElement.cxx
+    src/TLeafF.cxx
+    src/TLeafI.cxx
+    src/TLeafL.cxx
+    src/TLeafObject.cxx
+    src/TLeafO.cxx
+    src/TLeafS.cxx
+    src/TNtuple.cxx
+    src/TNtupleD.cxx
+    src/TQueryResult.cxx
+    src/TreeUtils.cxx
+    src/TSelector.cxx
+    src/TSelectorList.cxx
+    src/TSelectorScalar.cxx
+    src/TTreeCache.cxx
+    src/TTreeCacheUnzip.cxx
+    src/TTreeCloner.cxx
+    src/TTree.cxx
+    src/TTreeResult.cxx
+    src/TTreeRow.cxx
+    src/TTreeSQL.cxx
+    src/TVirtualIndex.cxx
+    src/TVirtualTreePlayer.cxx
+  DICTIONARY_OPTIONS
+    -writeEmptyRootPCM
+  DEPENDENCIES
+    Imt
+    Net
+    RIO
+)
 
 ROOT_ADD_TEST_SUBDIRECTORY(test)