]> git.ipfire.org Git - thirdparty/zstd.git/commit
[cmake] Emit warnings for contradictory build settings 3975/head
authorNick Terrell <terrelln@fb.com>
Mon, 18 Mar 2024 16:28:06 +0000 (09:28 -0700)
committerNick Terrell <terrelln@fb.com>
Mon, 18 Mar 2024 16:31:22 +0000 (09:31 -0700)
commit42b02f5185393e5f71abaa4c532684de3569be85
treeac49b98022409004433b2c1b4f54cdc7f46030c2
parentcd4dba74dea8a92f9e33d72fcb5b60224bc4e6c3
[cmake] Emit warnings for contradictory build settings

Document that the `ZSTD_BUILD_{SHARED,STATIC}` take precedence over `BUILD_SHARED_LIBS` when exactly one is ON.

Thanks to @teo-tsirpanis for pointing out the potentially confusing behavior.
build/cmake/lib/CMakeLists.txt