From 51eb770adb2073bcd0aead22d900923e924c64b3 Mon Sep 17 00:00:00 2001
From: renchao_lu <renchao.lu@gmail.com>
Date: Thu, 6 Jun 2019 20:06:43 +0200
Subject: [PATCH] [AL/ProjectData] Allowed water chemistry calculation only in
 case that component transport process is activated.

---
 Applications/ApplicationsLib/ProjectData.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Applications/ApplicationsLib/ProjectData.cpp b/Applications/ApplicationsLib/ProjectData.cpp
index 053e62e7882..e261d1be9ab 100644
--- a/Applications/ApplicationsLib/ProjectData.cpp
+++ b/Applications/ApplicationsLib/ProjectData.cpp
@@ -1014,6 +1014,7 @@ void ProjectData::parseChemicalSystem(
     if (!config)
         return;
 
+#ifdef OGS_BUILD_PROCESS_COMPONENTTRANSPORT
     INFO(
         "Ready for initializing interface to a chemical solver for water "
         "chemistry calculation.");
@@ -1048,6 +1049,7 @@ void ProjectData::parseChemicalSystem(
         }
     }
     else
+#endif
     {
         OGS_FATAL(
             "The specified type of the process to be solved is not component "
-- 
GitLab