]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: option to disable install & drop `curlu` target when unused
authorCharlie C <snailrose@gmail.com>
Mon, 6 Nov 2023 21:19:00 +0000 (14:19 -0700)
committerViktor Szakats <commit@vsz.me>
Fri, 10 Nov 2023 18:24:14 +0000 (18:24 +0000)
commitaace27b0965c10394544d1dacc9c2cb2fe0de3d3
treee5fe5eff7da68fab3db5babda1a88a60bca26633
parent45d2ff6f8521524cbfa22e8be6a71a55578ccc4c
cmake: option to disable install & drop `curlu` target when unused

This patch makes the following changes:
- adds the option `CURL_DISABLE_INSTALL` - to disable 'install' targets.
- Removes the target `curlu` when the option `BUILD_TESTING` is set to
  `OFF` - to prevent it from being loaded in Visual Studio.

Closes #12287
CMakeLists.txt
lib/CMakeLists.txt