diff --git a/CMakeLists.txt b/CMakeLists.txt
index 72db270245d59dc8dcc72ac9d4e353b39d621e6f..2bbf3cd7c49735d9cfc2af2612907158dc28b21f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,6 +4,9 @@ project(hcana VERSION 0.90 LANGUAGES CXX)
 
 option(HCANA_BUILTIN_PODD "Use built-in Podd submodule (default: YES)" OFF)
 
+find_package(ROOT 6.0 REQUIRED CONFIG)
+include(${ROOT_USE_FILE})
+
 #----------------------------------------------------------------------------
 # Set up Podd and ROOT dependencies
 if(HCANA_BUILTIN_PODD)
@@ -12,7 +15,6 @@ if(HCANA_BUILTIN_PODD)
     ${CMAKE_MODULE_PATH}
     )
   include(PoddCMakeEnv)
-  find_package(ROOT 5.10 REQUIRED)
 else()
   # Find Podd and register it as a dependency
   # This will also automatically set up ROOT
@@ -22,13 +24,13 @@ else()
 endif()
 
 # Register ROOT dependency - it's in our public interface
-config_add_dependency(ROOT 5.10)
+#config_add_dependency(ROOT 5.10)
 
 #----------------------------------------------------------------------------
 # Set up the compiler flags
-set_compiler_flags("${ROOT_CXX_FLAGS}")
-set_diagnostic_flags(WALL WEXTRA)
-report_build_info()
+#set_compiler_flags("${ROOT_CXX_FLAGS}")
+#set_diagnostic_flags(WALL WEXTRA)
+#report_build_info()
 
 #----------------------------------------------------------------------------
 # Install in GNU-style directory layout
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9e2f440eff9fe5d74fd3d0f32e36830324a4f389..feff7fd5d2e1530edefda31b9eeb00cb4926a0c4 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -89,11 +89,12 @@ install(TARGETS ${LIBNAME}
   RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
   )
 install(FILES ${allheaders} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
-install(DIRECTORY nlohmann DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+#install(DIRECTORY nlohmann DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
 
 #----------------------------------------------------------------------------
 # libHallCDict
 build_root_dictionary(${LIBNAME} ${headers}
+  INCLUDEDIRS -I${CMAKE_CURRENT_SOURCE_DIR}
   TARGETS ${LIBNAME}
   LINKDEF ${linkdef}
   )