]> git.ipfire.org Git - thirdparty/xz.git/commit
CMake: Use FATAL_ERROR if user-supplied options aren't understood.
authorLasse Collin <lasse.collin@tukaani.org>
Mon, 9 Oct 2023 17:59:24 +0000 (20:59 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Sun, 22 Oct 2023 16:03:52 +0000 (19:03 +0300)
commitbf011352528ae3539ea7b780b45b96736ee57a99
treeae9151e959fa87c0f45de50eed229a388a0b58e0
parent3f53870c249945d657ca3d75e0993e6267d71f75
CMake: Use FATAL_ERROR if user-supplied options aren't understood.

This way typos are caught quickly and compounding error messages
are avoided (a single typo could cause more than one error).

This keeps using SEND_ERROR when the system is lacking a feature
(like threading library or sandboxing method). This way the whole
configuration log will be generated in case someone wishes to
report a problem upstream.
CMakeLists.txt