From 4eb5236f008318f8d2af01f9cec2f9acb548b6d1 Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Thu, 17 Jul 2014 08:54:47 +0000
Subject: [PATCH] Remove the export command in DDSegmentation CMakeLists Export
 writes information in ~/.cmake/packages, making it hard for cmake not to find
 ddsegmentation (even when it is removed)

---
 DDSegmentation/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DDSegmentation/CMakeLists.txt b/DDSegmentation/CMakeLists.txt
index 242b2fa30..1a7977356 100644
--- a/DDSegmentation/CMakeLists.txt
+++ b/DDSegmentation/CMakeLists.txt
@@ -43,7 +43,7 @@ install(TARGETS DDSegmentation
 
 # Export the package for use from the build-tree
 # (this registers the build-tree with a global CMake-registry)
-export(PACKAGE DDSegmentation)
+#export(PACKAGE DDSegmentation)
  
 # Create the DDSegmentationConfig.cmake and DDSegmentationConfigVersion files
 configure_file(cmake/DDSegmentationConfig.cmake.in ${CMAKE_INSTALL_PREFIX}/DDSegmentationConfig.cmake)
-- 
GitLab