From 03fb66c8246b388a7059aa782b7da93cf190658b Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Wed, 21 Aug 2019 15:43:42 +0200
Subject: [PATCH] DD4hepConfig.cmake.in: cleanup comments

---
 cmake/DD4hepConfig.cmake.in | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/cmake/DD4hepConfig.cmake.in b/cmake/DD4hepConfig.cmake.in
index 629d8249b..8a6ce4fb0 100644
--- a/cmake/DD4hepConfig.cmake.in
+++ b/cmake/DD4hepConfig.cmake.in
@@ -35,7 +35,6 @@ include ( ${DD4hep_DIR}/cmake/DD4hep.cmake )
 set (CMAKE_MODULE_PATH  ${CMAKE_MODULE_PATH} ${DD4hep_DIR}/cmake  )
 
 # ---------- include dirs -----------------------------------------------------
-# do not store find results in cache
 set(DD4hep_INCLUDE_DIRS "")
 
 # ---------- default build type  --------------------------------------------------------
@@ -66,13 +65,11 @@ if(NOT CMAKE_PROJECT_NAME STREQUAL DD4hep)
   include("${DD4hep_ROOT}/cmake/DD4hepConfig-targets.cmake")
 endif()
 
-# ---------- include dirs -----------------------------------------------------
-# do not store find results in cache
+# Backward compatible DD4hep_INCLUDE_DIRS and DD4hep_LIBRARIES variables
 GET_TARGET_PROPERTY(DD4hep_INCLUDE_DIRS DD4hep::DDCore INTERFACE_INCLUDE_DIRECTORIES)
-
-# ---------- libraries --------------------------------------------------------
 set(DD4hep_LIBRARIES DD4hep::DDCore)
 
+# Backward compatible DD4hep_COMPONENT_LIBRARIES variable
 SET(DD4hep_COMPONENT_LIBRARIES)
 IF(DD4hep_FIND_COMPONENTS)
   dd4hep_print( "|++> DD4hep: Looking for Components: ${DD4hep_FIND_COMPONENTS}" )
-- 
GitLab