We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee928d3 commit 9fc5203Copy full SHA for 9fc5203
CMakeLists.txt
@@ -5,11 +5,14 @@ project(cpp_example CXX)
5
set(CMAKE_CXX_STANDARD 20)
6
set(CMAKE_CXX_STANDARD_REQUIRED ON)
7
8
+# Change this to the Endstone version you are targeting
9
+set(ENDSTONE_API_VERSION "v0.11" CACHE STRING "Endstone API version tag")
10
+
11
include(FetchContent)
12
FetchContent_Declare(
13
endstone
14
GIT_REPOSITORY https://github.com/EndstoneMC/endstone.git
- GIT_TAG v0.11 # Change this to the Endstone version you are targeting
15
+ GIT_TAG ${ENDSTONE_API_VERSION}
16
)
17
FetchContent_MakeAvailable(endstone)
18
0 commit comments