diff --git a/GeoLib/IO/XmlIO/Qt/XmlGmlInterface.cpp b/GeoLib/IO/XmlIO/Qt/XmlGmlInterface.cpp index 83116584302a706726fb310cc225e7c5d86dc9e0..4423db81cea057aacb2bdaa441f167a84758e5e6 100644 --- a/GeoLib/IO/XmlIO/Qt/XmlGmlInterface.cpp +++ b/GeoLib/IO/XmlIO/Qt/XmlGmlInterface.cpp @@ -20,7 +20,6 @@ #include <logog/include/logog.hpp> -#include "BaseLib/BuildInfo.h" #include "BaseLib/FileFinder.h" #include "GeoLib/Triangle.h" diff --git a/GeoLib/IO/XmlIO/Qt/XmlStnInterface.cpp b/GeoLib/IO/XmlIO/Qt/XmlStnInterface.cpp index 1b164185d464c5b1bc47487ca300474c8cf6a1f6..c4f06a84baea81a9c3a5cba27ac318637d065124 100644 --- a/GeoLib/IO/XmlIO/Qt/XmlStnInterface.cpp +++ b/GeoLib/IO/XmlIO/Qt/XmlStnInterface.cpp @@ -21,7 +21,6 @@ #include <RapidXML/rapidxml.hpp> #include <logog/include/logog.hpp> -#include "BaseLib/BuildInfo.h" #include "BaseLib/DateTools.h" #include "BaseLib/FileTools.h" #include "BaseLib/FileFinder.h" diff --git a/ProcessLib/CMakeLists.txt b/ProcessLib/CMakeLists.txt index 893b163d52b3233bcc3c4c034765ec198c07f4fe..96919836805b4603fff570a0a9fecd0c2ffd7049 100644 --- a/ProcessLib/CMakeLists.txt +++ b/ProcessLib/CMakeLists.txt @@ -31,7 +31,7 @@ target_link_libraries(ProcessLib NumLib logog ChemistryLib - PRIVATE ParameterLib) + PRIVATE ParameterLib GitInfoLib) if(OGS_USE_PYTHON) add_subdirectory(BoundaryCondition/Python) diff --git a/ProcessLib/Output/ProcessOutput.cpp b/ProcessLib/Output/ProcessOutput.cpp index 327f412a0dac65e248f53d87a512e5260b32afac..a3cc1565754b8ec358acca73c7a26de5c3201502 100644 --- a/ProcessLib/Output/ProcessOutput.cpp +++ b/ProcessLib/Output/ProcessOutput.cpp @@ -9,7 +9,7 @@ #include "ProcessOutput.h" -#include "BaseLib/BuildInfo.h" +#include "InfoLib/GitInfo.h" #include "MathLib/LinAlg/LinAlg.h" #include "MeshLib/IO/VtkIO/VtuInterface.h" #include "NumLib/DOF/LocalToGlobalIndexMap.h" @@ -24,8 +24,8 @@ static void addOgsVersion(MeshLib::Mesh& mesh) auto& ogs_version_field = *MeshLib::getOrCreateMeshProperty<char>( mesh, "OGS_VERSION", MeshLib::MeshItemType::IntegrationPoint, 1); - ogs_version_field.assign(BaseLib::BuildInfo::ogs_version.begin(), - BaseLib::BuildInfo::ogs_version.end()); + ogs_version_field.assign(GitInfoLib::GitInfo::ogs_version.begin(), + GitInfoLib::GitInfo::ogs_version.end()); } static void addSecondaryVariableNodes(