Index: CMakeLists.txt
--- CMakeLists.txt.orig	2018-11-12 07:23:37.300244000 +0100
+++ CMakeLists.txt	2018-11-12 07:24:36.377992000 +0100
@@ -587,9 +587,6 @@
   TARGETS ${TARGETS}
   FILE "${PROJECT_BINARY_DIR}/${PACKAGE_NAME}-nonamespace-targets.cmake"
 )
-if (REGISTER_BUILD_DIR)
-  export (PACKAGE ${PACKAGE_NAME})
-endif ()
 if (REGISTER_INSTALL_PREFIX)
   register_gflags_package(${CONFIG_INSTALL_DIR})
 endif ()
