summaryrefslogtreecommitdiffstats
path: root/Modules/FindLibinput.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Find*: Update *_FOUND variablesPeter Kokot2025-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | This marks all `<PACKAGENAME>_FOUND` result variables as deprecated where possible (for `<PackageName>` find modules) to make it clearer which variable to use. In CMake 3.3, the FindPackageHandleStandardArgs module was refactored to set both `<PackageName>_FOUND` and uppercase `<PACKAGENAME>_FOUND` result variables to the same values. Before that, the FOUND_VAR argument could be used to set the result variable. * FindMatlab: Uppercased MATLAB_FOUND is not mentioned as it was never documented. * Documentation for FindPythonInterp and FindPythonLibs modules synced accordingly to their deprecation (3.12 instead of 4.2). * OPENGL_FOUND: deprecation version synced with other find modules. * DevIL_FOUND was introduced in CMake 3.8. The uppercased variant not mentioned as it was previously never documented. Fixes: #27242
* FindPkgConfig: Deprecate PKG_CONFIG_FOUNDPeter Kokot2025-08-201-1/+1
| | | | | | | | | | Since most of the find modules use the `<PackageName>_FOUND` result variables, this now also syncs it for the FindPkgConfig module. The `PkgConfig_FOUND` result variable is available since CMake 3.3 and contains the same value. There is also `PKGCONFIG_FOUND` result variable automatically set with the same value but for simplicity isn't documented. The uppercased `<PACKAGENAME>_FOUND` result variables set by find modules are also considered legacy variables.
* Find*: Add intro code blocksPeter Kokot2025-08-041-1/+5
| | | | | | | | | | | - Added intro code blocks showing how to use find modules. - Synced modules documentation. - Extended few examples to make the intro code blocks fit into the modules descriptions. - Synced some RST formatting, variables descriptions and positions. - Removed few redundant internal comments. Issue: #26555
* FindLibinput: Update documentationPeter Kokot2025-04-061-9/+24
| | | | | - Synced module documentation with other similar find modules. - Added examples section.
* LICENSE: Replace references to Copyright.txt with LICENSE.rstKitware Robot2025-03-031-1/+1
| | | | | | | | | | ``` git grep -lz 'Copyright.txt or https://cmake.org/licensing ' | while IFS= read -r -d $'\0' f ; do sed -i '/Copyright.txt or https:\/\/cmake.org\/licensing / { s/Copyright.txt/LICENSE.rst/ }' "$f" ; done ```
* FindPackageHandleStandardArgs: Clarify the FOUND_VAR optionPeter Kokot2024-12-311-2/+0
| | | | | | | | The `find_package_handle_standard_args(FOUND_VAR)` is deprecated as of CMake 3.3 and both the `<PackageName>_FOUND` and the upper-cased `<PACKAGE_NAME>_FOUND` are set with or without using this option. Additionally, find modules and docs are also synced with this to make it clearer.
* Modules: Guard calls to pkg_check_modulesKai Pastor2024-08-071-1/+3
| | | | | | | | Before calling pkg_check_modules, modules must check PKG_CONFIG_FOUND. When FindPkgConfig.cmake is loaded, pkg_check_modules is always defined regardless of pkg-config being present. However, the whole module might be disabled on user request with CMAKE_DISABLE_FIND_PACKAGE_PkgConfig. This must not break Find modules which just look for a hint or similar.
* Help: Add Sphinx 'versionadded' directives to each top-level documentKitware Robot2020-07-061-0/+2
| | | | | | | Run the `Utilities/Sphinx/update_versions.py` script to add initial markup to every top-level document and find module. Issue: #19715
* FindLibinput: do not set Libinput_VERSION_STRINGFrederik Gladhorn2018-10-181-1/+0
| | | | Libinput_VERSION is enough, this is redundant
* FindLibinput: Use _COMPILE_OPTIONS instead of _DEFINITIONSFrederik Gladhorn2018-10-161-3/+3
| | | | The value may contain flags.
* FindLibinput: Add module to find libinputFrederik Gladhorn2018-10-111-0/+83
This module is inspired by one from KDE's KWin.