aboutsummaryrefslogtreecommitdiffstats
path: root/science/quantum-espresso/files/patch-external_mbd_cmake_libMBDVersion.cmake
blob: 5ea766487ced3d2925bc80ff895e771ffb6980a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- external/mbd/cmake/libMBDVersion.cmake.orig	2025-01-27 00:55:20 UTC
+++ external/mbd/cmake/libMBDVersion.cmake
@@ -22,13 +22,15 @@ elseif(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/cmake/libMB
     message(STATUS "Setting version tag to ${VERSION_TAG} from Git")
 elseif(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/cmake/libMBDVersionTag.cmake")
     include(libMBDVersionTag)
-else()
+elseif(FALSE)
     message(FATAL_ERROR
         "Not in a Git repository and version tag is missing, you most likely "
         "attempt to install from a copy of the source tree. Obtain the source "
         "distribution (libmbd-<version>.tar.gz) from a Github release page "
         "instead.")
 endif()
+
+set(VERSION_TAG "1.0.0")
 
 set(PROJECT_VERSION ${VERSION_TAG})