obs-studio/cmake/common
Aleks Todorov 80ad63a6da cmake: Provide a clear error on version check fail
Currently, when git describe fails to get a git tag for the OBS Version,
a non-fatal message is printed, and the generator is left to continue,
usually ending up with a more cryptic error message down the line.

Instead, print the git output together with a short description of what
actually happened, and exit fatally so the problematic line of code is
clear. An added advantage is that the git output is printed in red
instead of (say) white on color-enabled terminals.
2024-04-04 15:13:43 -04:00
..
bootstrap.cmake cmake: Update CMake formatting with manual format choices 2023-12-19 17:59:44 -05:00
buildnumber.cmake cmake: Fix CMake policy scopes and add include guards 2023-06-17 12:23:33 -04:00
buildspec_common.cmake cmake: Update CMake formatting with manual format choices 2023-12-19 17:59:44 -05:00
ccache.cmake cmake: Update CMake formatting with manual format choices 2023-12-19 17:59:44 -05:00
compiler_common.cmake cmake: Disable char8_t when using C++20 2023-07-05 09:39:41 -07:00
cpackconfig_common.cmake cmake: Add Windows component to CMake build framework 3.0 2023-06-29 10:11:32 -04:00
helpers_common.cmake cmake: Update CMake formatting with manual format choices 2023-12-19 17:59:44 -05:00
osconfig.cmake cmake: Update macOS compiler configuration 2023-06-17 12:23:33 -04:00
policies.cmake cmake: Update CMake formatting with manual format choices 2023-12-19 17:59:44 -05:00
versionconfig.cmake cmake: Provide a clear error on version check fail 2024-04-04 15:13:43 -04:00