Closed codingspirit closed 3 years ago
The variable CMAKE_PROJECT_VERSION used at https://github.com/cisco/libsrtp/blob/8168ab17f4cc7cacb2db1e6f3ec0b505d6f24693/CMakeLists.txt#L5 was introduced in cmake version 3.12: https://cmake.org/cmake/help/v3.20/variable/CMAKE_PROJECT_VERSION.html
CMAKE_PROJECT_VERSION
New in version 3.12.
If compiling with cmake version lower than 3.12, this variable will be undefined. This commit will update cmake_minimum_required to 3.12 to fix this issue.
cmake_minimum_required
If it is a requirement then this makes sense.
The variable
CMAKE_PROJECT_VERSION
used at https://github.com/cisco/libsrtp/blob/8168ab17f4cc7cacb2db1e6f3ec0b505d6f24693/CMakeLists.txt#L5 was introduced in cmake version 3.12: https://cmake.org/cmake/help/v3.20/variable/CMAKE_PROJECT_VERSION.htmlIf compiling with cmake version lower than 3.12, this variable will be undefined. This commit will update
cmake_minimum_required
to 3.12 to fix this issue.