flac icon indicating copy to clipboard operation
flac copied to clipboard

[CMake] Use CMake's find_package module to detect git

Open diizzyy opened this issue 9 months ago • 2 comments

Instead of enforcing execution of git if available use CMake's find_package module to make it optional.

diizzyy avatar Mar 02 '25 06:03 diizzyy

Counterpart to what's being available using Autotools, https://github.com/xiph/flac/blob/master/configure.ac#L369

diizzyy avatar Mar 02 '25 06:03 diizzyy

IMO this should be complemented by replacing the use of literal git wiht "${GIT_EXECUTABLE}". User may seed this cache variable without even having git in PATH.

dg0yt avatar Apr 17 '25 07:04 dg0yt