- Added examples section.
- Used OpenThreads_FOUND variable. The uppercased OPENTHREADS_FOUND is
also set to the same value as of CMake 3.3.
- Module documentation synced with other similar find modules.
- Mention of CMake 2.8.10 removed as these are now being cleaned in the
CMake 4 documentation (CMake docs are at this point considering the
3.0 as the initial state upon which new and changed items are
documented through versions).
- Refactored the hints variables section.
- Added info about release and debug variants.
- Refactored internal comments into more readable documentation
paragraph. Most of the issues described in the internal comment have
been resolved in CMake evolution by now - CMake now offers _ROOT
variables and CMAKE_PREFIX_PATH variable which works by finding that
paths with precedence over default standard locations.
Revise the comment from commit 7e359823c9 (MSVC: Preserve linker output
encoding, 2018-08-03, v3.13.0-rc1~223^2) to more clearly explain why we
need to write output using a `cmConsoleBuf` without `SetUTF8Pipes`.
- Synced module documentation with other similar find modules.
- Removed CMake 2.8.8 version info as these are now being cleaned from
the CMake 4 documentation.
- Added some additional versionadded directives for those items that
were added after the CMake 3.0.0 module state.
- Added separate components section.
- Reworded few descriptions.
This hopefully helps a bit when upgrading CMake code that uses
`exec_program()` command.
Changes:
- Used third-person phrasing for the command description.
- The `exec_program()` command arguments in signature updated a bit.
- Mention of CMakeLists.txt file removed as this command also worked in
CMake scripts and other modes.
- Added examples section.
This removes the hardcoded known protocols and features and only checks
whether the specified component(s) by the
`find_package(COMPONENT|OPTIONAL_COMPONENT <components>...)` call are
found and listed by either the pkg-config or the curl-config tool. When
curl is found via its CMake package configuration file, this issue
wasn't relevant.
Additionally, this also removes two internal FindCURL module variables
`CURL_KNOWN_PROTOCOLS` and `CURL_KNOWN_FEATURES`.
Redundant fatal error thrown is also removed as this is handled by the
`find_package_handle_standard_args()`.
Fixes#26866
- Modules documentation updated and syced.
- Added examples section.
- Mentioned FLTK upstream package configuration file that is also taken
into account when calling the find_package(FLTK).
- Briefly mentioned the fltk_wrap_ui() command.
- Added note for FindFLTK2 that it is for the obsolete 2.x branch that
wasn't released and FindFLTK should be used instead.
Issue: #15728
f1b1b84b22 ASM_NASM: Honor ASM_NASM env var over standard NASM installation on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10662
- Synced module documentation with other similar find modules.
- Added examples section.
- Moved imported targets section to the top.
- Added note about config mode.
- Added CMake versions, when some variables got introduced as many were
added after the initial module.
Since commit 7b19531291 (macOS: Do not pass any SDK/-isysroot to
compilers by default, 2024-11-06, v4.0.0-rc1~511^2) our default
invocation of compilers targeting macOS no longer passes `-isysroot`.
Without that, Xcode's compilers search `-L/usr/local/lib` by default
even though the macOS dynamic loader does not. Since `/usr/local/lib`
is not a fully-implemented implicit link directory, exclude it from our
detected `CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES` so that our generators
do not suppress `RPATH` entries for dependencies in that directory.
Fixes: #26867