FindMFC:
- Synced module documentation with other similar find modules.
- Added examples section.
- Added reference link to CMAKE_MFC_FLAG variable.
CMAKE_MFC_FLAG:
- Added separate examples section.
- Mentioned FindMFC module.
- Used target_compile_definitions() instead of add_definitions().
- Extended examples section and changed example to use a locally created
imported target showing how to add usage requirements to project.
- Mention of CMake 2.x removed as these version notes 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).
- Extended components section.
- Added See Also section.
- Removed internal comment about naming conventions. Find modules
distributed with CMake ideally should follow standard find modules
naming conventions for variables and to have it synced with
other find modules shipped with CMake.
- Used the OpenSceneGraph_FOUND variable (CMake 3.3). The uppercased
OPENSCENEGRAPH_FOUND is also set to the same value.
- Added note in introduction how to include headers.
In a project that has enabled C or CXX, we bias ASM and Fortran compiler
selection to match. Propagate this bias into the `check_language` test
project so that if it succeeds, we will select the same compiler when
enabling the tested language in the calling project.
Fixes: #19350
This updates FindLua, FindLua50, and FindLua51 modules:
- Added examples section.
- Synced module documentation with other similar find modules.
- Added notes about Lua 5.0 and 5.1 branches being obsolete and newer
version should be used with the FindLua module.
- For the example of including Lua headers the angled includes are now
used instead of quoted style. Angled brackets are more convenient
for system and such dependencies as they indicate that include
directories have priority over local files found in the current
directory by the compiler.
- Removed mentioning CMake 2.x for version variables being introduced 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).
- `<PackageName>_FOUND` variables used (since CMake 3.3), the uppercased
`<PACKAGENAME>_FOUND` are also set to the same value.
LLVM/Clang 20, when invoked as `clang++ -E -c ...`, now warns:
warning: argument unused during compilation: '-c'
Drop the unnecessary `-c` flag. Also add a `-w` flag to suppress
warnings so their text is not parsed as predefines.
This removes all `versionadded` RST directives mentioning CMake 2.x
branch from CMake modules. These version notes 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).
- 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