tukaani-project / xz

XZ Utils
https://tukaani.org/xz/
Other
503 stars 40 forks source link

cmake: overwrite user given NLS decision in case legacy cmake is detected #130

Closed pseiderer closed 1 week ago

pseiderer commented 2 weeks ago

Overwriteuser given NLS decision in case legacy cmake (e.g. 3.18.4) is detected.

Fixes:

CMake Error at CMakeLists.txt:1675 (add_executable): Target "xz" links to target "Intl::Intl" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?

CMake Error at CMakeLists.txt:1619 (add_executable): Target "lzmainfo" links to target "Intl::Intl" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?

Closes: https://github.com/tukaani-project/xz/issues/129

thesamesam commented 2 weeks ago

@Larhzu I don't want to say "I told you so..." :D