File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change
1
+ libmongoc 1.25.1 (Unreleased)
2
+ =============================
3
+
4
+ Fixes:
5
+
6
+ * Add back support for `BUILD_VERSION` CMake option. `BUILD_VERSION` was unintentionally removed in 1.25.0.
7
+
1
8
libmongoc 1.25.0
2
9
================
3
10
Original file line number Diff line number Diff line change @@ -46,8 +46,10 @@ function(compute_build_version outvar)
46
46
set ("${outvar} " "${output} " PARENT_SCOPE)
47
47
endfunction ()
48
48
49
- # Define the BUILD_VERSION:
50
- compute_build_version(BUILD_VERSION)
49
+ # Compute the BUILD_VERSION if it is not already defined:
50
+ if (NOT DEFINED BUILD_VERSION)
51
+ compute_build_version(BUILD_VERSION)
52
+ endif ()
51
53
52
54
# Set a BUILD_VERSION_SIMPLE, which is just a three-number-triple that CMake understands
53
55
string (REGEX REPLACE "([0-9]+\\ .[0-9]+\\ .[0-9]+).*$" "\\ 1" BUILD_VERSION_SIMPLE "${BUILD_VERSION} " )
You can’t perform that action at this time.
0 commit comments