diff --git a/cmake/DD4hepConfig.cmake.in b/cmake/DD4hepConfig.cmake.in
index d12c959b7d2a296310449fe8a038fd5685d02b8a..a52bb608453ca8558dde5f8a7d5a60068d11ffd9 100644
--- a/cmake/DD4hepConfig.cmake.in
+++ b/cmake/DD4hepConfig.cmake.in
@@ -21,16 +21,8 @@ if (_lastdir STREQUAL "cmake")
   get_filename_component(_thisdir "${_thisdir}" PATH)
 endif()
 
-if( DEFINED ENV{DD4hep_DIR} )
-  set ( DD4hep_DIR         "$ENV{DD4hep_DIR}" )
-else()
-  set ( DD4hep_DIR         "${_thisdir}" )
-endif()
-if( DEFINED ENV{DD4hep_ROOT} )
-  set ( DD4hep_ROOT        "$ENV{DD4hep_ROOT}" )
-else()
-  set ( DD4hep_ROOT        "${_thisdir}" )
-endif()
+set ( DD4hep_DIR         "${_thisdir}" )
+set ( DD4hep_ROOT        "${_thisdir}" )
 set ( DD4hep_VERSION     "@DD4hep_VERSION@" )
 set ( DD4hep_SOVERSION   "@DD4hep_SOVERSION@" )
 set ( DD4HEP_USE_GEANT4  "@DD4HEP_USE_GEANT4@" )