coturn / coturn/coturn

CMakeLists.txt attempts to use undefined variable `_BUILD_VERSION`

Open
#1,381 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
14.4k
Forks
2.3k
Avg merge
1d 15h
Merged PRs (30d)
24

Description

```
string(FIND ${BUILD_VERSION} / BUILD_VERSION_POS REVERSE)
if(BUILD_VERSION_POS GREATER -1)
math(EXPR BUILD_VERSION_POS "${BUILD_VERSION_POS} + 1")
string(SUBSTRING ${BUILD_VERSION} ${BUILD_VERSION_POS} -1 BUILD_VERSION)
endif()
message("BUILD_VERSION:${BUILD_VERSION};${_BUILD_VERSION}")
set(VERSION ${BUILD_VERSION})
```

See the second to last line in the code snip above.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.