From 7cb5e15248935ade595fbaee30251b73874d9f04 Mon Sep 17 00:00:00 2001
From: Sergey Kosukhin <sergey.kosukhin@mpimet.mpg.de>
Date: Tue, 10 Dec 2024 18:15:24 +0100
Subject: [PATCH] cmake: remove obsolete file

---
 CMakeLists.txt |  4 ----
 config.h.in    | 28 ----------------------------
 2 files changed, 32 deletions(-)
 delete mode 100644 config.h.in

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 663815c1..f9f45e18 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,10 +24,6 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
   add_compile_options($<$<COMPILE_LANGUAGE:Fortran>:-ffree-line-length-none>)
 endif()
 
-configure_file(
-  ${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h
-)
-
 include(GNUInstallDirs)
 
 add_subdirectory(src)
diff --git a/config.h.in b/config.h.in
deleted file mode 100644
index 6e5315b3..00000000
--- a/config.h.in
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2013-2024 MPI-M, Luis Kornblueh, Rahul Sinha and DWD, Florian Prill. All rights reserved.
-//
-// SPDX-License-Identifier: BSD-3-Clause
-//
-
-// Name of package
-#define PACKAGE "@PROJECT_NAME@"
-
-// Define to the full name of this package.
-#define PACKAGE_NAME "@PROJECT_NAME@"
-
-// Define to the full name and version of this package.
-#define PACKAGE_STRING "@PROJECT_NAME@ @PROJECT_VERSION@"
-
-// Define to the one symbol short name of this package.
-#define PACKAGE_TARNAME "@PROJECT_NAME@"
-
-// Define to the version of this package.
-#define PACKAGE_VERSION "@PROJECT_VERSION@"
-
-// Version number of package
-#define VERSION "@PROJECT_VERSION@"
-
-// Enable testing
-#cmakedefine BUILD_TESTING
-#ifdef BUILD_TESTING
-  #define ENABLE_CHECK 1
-#endif
-- 
GitLab