From bfabd4370ce30e70c73e6779f7c2e3a2cd223b2c Mon Sep 17 00:00:00 2001
From: Florian Christoph Fischer <florian.christoph.fischer@cern.ch>
Date: Mon, 7 May 2018 17:54:32 +0200
Subject: [PATCH] Updated CMakeLists to prevent CI error

Former-commit-id: a105c7032d2bb0762f11168e234ef7892f76682f
---
 Tools/DirectIOART/CMakeLists.txt | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Tools/DirectIOART/CMakeLists.txt b/Tools/DirectIOART/CMakeLists.txt
index 6fc8f907d9ff..77472348dee2 100644
--- a/Tools/DirectIOART/CMakeLists.txt
+++ b/Tools/DirectIOART/CMakeLists.txt
@@ -13,6 +13,9 @@ atlas_depends_on_subdirs( PRIVATE
 atlas_install_scripts( test/*.sh test/*.py )
 
 # Install joboptions
-if ($ENV{AtlasProject} STREQUAL AthAnalysis)
-  atlas_install_joboptions( share/*.py )
+
+if (NOT $ENV{AtlasProject} STREQUAL "")
+  if ($ENV{AtlasProject} STREQUAL "AthAnalysis")
+    atlas_install_joboptions( share/*.py )
+  endif()
 endif()
-- 
GitLab