From 1b7d7ff5dd49d82ea5c25e3767617d0b911eb18d Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Tue, 25 Jun 2019 13:11:39 +0200
Subject: [PATCH] Fix Compilation against LCG94a

---
 DDCond/CMakeLists.txt   | 2 +-
 cmake/DD4hepBuild.cmake | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/DDCond/CMakeLists.txt b/DDCond/CMakeLists.txt
index 97d93ef56..94117c201 100644
--- a/DDCond/CMakeLists.txt
+++ b/DDCond/CMakeLists.txt
@@ -9,7 +9,7 @@
 #
 #==========================================================================
 dd4hep_package(    DDCond
-  USES             BOOST DDCore
+  USES             DDCore BOOST
   INCLUDE_DIRS     include
   INSTALL_INCLUDES include/DDCond)
 
diff --git a/cmake/DD4hepBuild.cmake b/cmake/DD4hepBuild.cmake
index 91bfce689..cb334a73c 100644
--- a/cmake/DD4hepBuild.cmake
+++ b/cmake/DD4hepBuild.cmake
@@ -902,7 +902,7 @@ function( dd4hep_package packageName )
       #
       list(APPEND used_incs ${CMAKE_CURRENT_SOURCE_DIR}/include )
       foreach( inc ${ARG_INCLUDE_DIRS} )
-        list( APPEND used_incs ${CMAKE_CURRENT_SOURCE_DIR}/${inc} )
+        list(INSERT used_incs 0 ${CMAKE_CURRENT_SOURCE_DIR}/${inc} )
       endforeach()
       #
       #  Build the list of link libraries required to build the package library and plugins etc.
-- 
GitLab