Skip to content

Commit a37da76

Browse files
committed
FindObjectBoxGenerator.cmake: download 5.0.0-rc
1 parent a0e636b commit a37da76

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmake/FindObjectBoxGenerator.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Currently supported platforms are Linux/x86-64, macOS and Windows/x86-64.
1717
1818
.. code-block:: cmake
1919
20-
find_package(ObjectBoxGenerator 4.0.0 REQUIRED)
20+
find_package(ObjectBoxGenerator 5.0.0 REQUIRED)
2121
2222
The following variables are defined by this module:
2323
@@ -31,7 +31,7 @@ The following variables are defined by this module:
3131
3232
.. variable:: ObjectBoxGenerator_VERSION
3333
34-
The full version string of the used ObjectBox Generator executable, e.g. "4.0.0" or "4.0.0-beta".
34+
The full version string of the used ObjectBox Generator executable, e.g. "5.0.0" or "5.0.0-beta".
3535
3636
.. variable:: ObjectBoxGenerator_VERSION_MAJOR
3737
.. variable:: ObjectBoxGenerator_VERSION_MINOR
@@ -127,8 +127,8 @@ Generated headers and sources are written to the sub-directories ``ObjectBoxGene
127127

128128
option(OBX_GENERATOR_ALLOW_FETCH "Opt-in automatic download and prepare for local execution" ON)
129129

130-
# Updated by maintainer to latest available version:
131-
set(ObjectBoxGenerator_FETCH_VERSION 4.0.0) # Note: must be safe for filename
130+
# Version to download (must be a GitHub release with attached binaries):
131+
set(ObjectBoxGenerator_FETCH_VERSION 5.0.0-rc)
132132
# Using the version in the directories used for the generator executable to cleanly support multiple versions.
133133
# This is e.g. relevant when updating to ensure fetching the new version.
134134
set(ObjectBoxGenerator_FETCH_DIR ${CMAKE_BINARY_DIR}/ObjectBoxGenerator-download/${ObjectBoxGenerator_FETCH_VERSION}/fetch)

0 commit comments

Comments
 (0)