Skip to content

Commit eb2060f

Browse files
committed
Drop v prefix from ENDSTONE_API_VERSION, prepend in GIT_TAG
1 parent 9fc5203 commit eb2060f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ set(CMAKE_CXX_STANDARD 20)
66
set(CMAKE_CXX_STANDARD_REQUIRED ON)
77

88
# Change this to the Endstone version you are targeting
9-
set(ENDSTONE_API_VERSION "v0.11" CACHE STRING "Endstone API version tag")
9+
set(ENDSTONE_API_VERSION "0.11" CACHE STRING "Endstone API version")
1010

1111
include(FetchContent)
1212
FetchContent_Declare(
1313
endstone
1414
GIT_REPOSITORY https://github.com/EndstoneMC/endstone.git
15-
GIT_TAG ${ENDSTONE_API_VERSION}
15+
GIT_TAG v${ENDSTONE_API_VERSION}
1616
)
1717
FetchContent_MakeAvailable(endstone)
1818

0 commit comments

Comments
 (0)