diff --git a/upgrade_db/CMakeLists.txt b/upgrade_db/CMakeLists.txt
index 44eec6a10dfc3a7f21738273ae364894225495fb..baa29e2ab7bd05b3ec09654de7122d967a4a9137 100644
--- a/upgrade_db/CMakeLists.txt
+++ b/upgrade_db/CMakeLists.txt
@@ -16,6 +16,7 @@
 
 cmake_minimum_required (VERSION 2.6)
 
+find_package(xrootd REQUIRED)
 find_package(Protobuf3 REQUIRED)
 
 include_directories(${XRD_SSI_PB_DIR}/include ${XROOTD_INCLUDE_DIR} ${XROOTD_INCLUDE_DIR}/private)