Skip to content

Commit

Permalink
Fix missing header includes.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkestene committed Apr 9, 2024
1 parent 08440cf commit 11ec1f8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/ppkMHD_version.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author CMake
*
* This file is automatically generated by the CMake build process.
* It should not be edited directly.
* It should not be edited directly.
*/
#ifndef PPKMHD_VERSION_H_
#define PPKMHD_VERSION_H_
Expand All @@ -18,11 +18,14 @@
#define COMPILE_DATE "@DATE_STRING@"
#define COMPILE_TIME "@TIME_STRING@"

inline
void print_version_info()
#include <iostream>

inline void
print_version_info()
{
std::cout << "#############################################\n";
std::cout << "@PROJECT_NAME@ - git information" <<"\n";
std::cout << "@PROJECT_NAME@ - git information"
<< "\n";
std::cout << "git remote url : " << GIT_REMOTE_URL << "\n";
std::cout << "git branch : " << GIT_BRANCH << "\n";
std::cout << "git revision : " << GIT_BUILD_STRING << "\n";
Expand Down

0 comments on commit 11ec1f8

Please sign in to comment.