- Synced module documentation with other similar find modules.
- Extended example with imported target.
- Removed mentioning CMake 2.x in versionadded RST directives as these
are now being cleaned in the CMake 4 documentation (CMake docs are at
this point considering the 2.8.12.2 as the initial state upon which
new and changed items are documented through versions - at least for
modules).
- Added separate "Deprecated Variables" section.
- Changed the deprecation version number to 2.8.3 as it is for CMake
version and not the module internal version 1.3.
- Added separate "Cache Variables" section.
- Used lowercase style for the cxxtest_add_test() command.
This makes the default CUDA architecture consistent across compilers,
and makes it more likely that the resulting binary will run on the
user's hardware.
This also makes hardware requirements for CI builds more consistent.
See commit 4f2178c4a8 (ci: add tags to tie CUDA jobs to runners with
hardware supporting them, 2025-04-21).
- Synced module documentation with other similar find modules.
- Added examples section describing module usage, highlighting the
imported target, and how to override ODBC configuration through
cache variables on Unix-like systems. Some exotic or custom ODBC
implementations might sometimes need such steps.
- Added note about Producer library being obsolete.
- Added examples section.
- Module documentation updated and synced with other similar find
modules and OpenSceneGraph related find modules.
- Used Producer_FOUND variable. The PRODUCER_FOUND is also set to the
same value as of CMake 3.3.
- Refactored components section.
- Module documentation synced with other similar find modules.
- Added examples section.
- Removed version note for VULKAN_SDK (this environment variable was
used since 3.7 when module got introduced to CMake).
- Added missing volk component.
- Synced module documentation with other similar find modules.
- Added examples section.
- Refactored the obsolete variables section to only mention in the
result variables that GLUT_INCLUDE_DIRS should be used instead of
the previously misused cache variable GLUT_INCLUDE_DIR. The
GLUT_INCLUDE_DIR as such is not actually deprecated/obsolete as it is
still used to find GLUT (only its previous usage way is
changed/obsolete).
- Module documentation synced with other similar find modules.
- Added examples section.
- Extended components into a separate section.
- Components listed with hlist RST directive
- Added and updated versions for variables when they got introduced.
- Fixed variable name from Ice_ICEBOXXX11_EXECUTABLE to
Ice_ICEBOX++11_EXECUTABLE.
- Fixed typo in C++ component name: s/IceGrid/IceGrid++11
- 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.
- 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 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
This updates the following modules:
- FindSDL
- FindSDL_gfx
- FindSDL_image
- FindSDL_mixer
- FindSDL_net
- FindSDL_sound
- FindSDL_ttf
Changes:
- Synced modules documentation.
- Added examples sections.
- Used the ``<PackageName>_FOUND`` variables. The uppercased
``<PACKAGENAME>_FOUND`` variables are also set to the same value as of
CMake 3.3.
- Added notes regarding the CMake package configuration files
provided by upstream distributions with separate imported targets.
- Find modules index sorted alphabetically for FindSDL* modules.
- Modules documentation updated and synced.
- Added examples section.
- FindMPEG and FindMPEG2 modules behave very much the same except that
FindMPEG2 also adds the SDL library as a dependency. Added notes
regarding this and recommended to use the FindMPEG2 as it also links
in the SDL library at the time of writing.
- Added examples section.
- Synced module documentation with other similar find modules.
- Documented some missing variables to make the result variables and
cache variables sections consistent. The imported target is
highlighted in the example.
- Added deprecated variables section.
- GnuTLS_FOUND variable used. GNUTLS_FOUND is also set to the same value
as of CMake 3.3.
- This syncs the module documentation with other similar find modules.
- Added note about KDE version 3 being obsolete and newer KDE version
should be used. A link to upstream docs is added.
- Fixed typo "SKIP_AUTOMAKE" to "SKIP_AUTOMOC".
- Documented commands. Instead of mentioning "macros", this now uses the
more general wording "commands" and lists them similar to other
documentation pages.
- Lowercase style used for commands.
- Reworded descriptions to match the implementations a bit.
- Module documentation synced with other similar find modules.
- Added examples section.
- Joined all hints variables in a single section.
- Added deprecated variables section.
- Described the "module mode" and "config mode" when searching for CURL
separately in the module introduction, and added notes to some result
variables.
Fixes#24580