summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'FindICU-show-found-libs'Brad King2022-04-221-2/+2
|\ | | | | | | | | | | | | c3c7e6d609 FindICU: Show location of found libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7193
| * FindICU: Show location of found librariesDon Olmstead2022-04-211-2/+2
| | | | | | | | Announce locations of the libraries without the use of `ICU_DEBUG`.
* | Merge topic 'clang-cl-asm-msvc-runtime'Brad King2022-04-221-0/+5
|\ \ | | | | | | | | | | | | | | | | | | b41fab9285 Clang: populate MSVC runtime library abstraction table Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7048
| * | Clang: populate MSVC runtime library abstraction tableSaleem Abdulrasool2022-04-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | !3211 overlooked populating the runtime library selection flags for clang-cl in MSVC compatibility mode. There is no flag that needs to be passed, but the value is expected to be available by the generators. We simply provide the empty string to appease the generators without emitting any additional flags. Fixes: #23048
* | | Merge topic 'NO_CMAKE_INSTALL_PREFIX'Brad King2022-04-224-0/+13
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42f7e39789 Find: Support per call disabling of CMAKE_INSTALL_PREFIX Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7163
| * | | Find: Support per call disabling of CMAKE_INSTALL_PREFIXRobert Maynard2022-04-154-0/+13
| | | | | | | | | | | | | | | | Fixes #23359
* | | | Merge topic 'CheckCompilerFlags-revert-linker-warnings'Brad King2022-04-222-1/+9
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 4941887d7d CheckCompilerFlags: Revert "Catch linker warning about ignored flags" c2341ece47 CheckLinkerFlag: Catch linker warning when the checked flag is ignored Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7190
| * | | CheckCompilerFlags: Revert "Catch linker warning about ignored flags"Brad King2022-04-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit f745e0497e (CheckCompilerFlags: Catch linker warning about ignored flags, 2022-01-03, v3.23.0-rc1~174^2). It regressed cases where incidental linker warnings were previously tolerated. Revert the change pending further investigation. Fixes: #23432 Issue: #22961
| * | | CheckLinkerFlag: Catch linker warning when the checked flag is ignoredBrad King2022-04-211-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to commit 219dde4ea8 (CheckPIESupported: now uses any SYSROOT settings, 2022-01-16, v3.23.0-rc1~110^2), the checks for `-pie` and `-no_pie` on macOS failed due to executing the compiler directly without any `-isysroot`, producing `ld: library not found for -lc++`. See issues #23053 and #19180. The failing check for `-pie` was a bug because it is supported on macOS, both for `x86_64` and `arm64`, and the commit fixed that check. However, `-no_pie` is not supported on macOS `arm64`. The above commit was only able to detect that due to commit f745e0497e (CheckCompilerFlags: Catch linker warning about ignored flags, 2022-01-03, v3.23.0-rc1~174^2), which we need to revert due to issue #23432. Instead, catch only the linker warning about the exact flag being checked.
* | | | Merge topic 'FindPython-pypy-v7.3.9-support'Brad King2022-04-211-1/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5440eafaae FindPython: Add support for pypy v7.3.9 and uppers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7189
| * | | | FindPython: Add support for pypy v7.3.9 and uppersMarc Chevrier2022-04-201-1/+12
| |/ / / | | | | | | | | | | | | | | | | | | | | Library name versioning has changed. Fixes: #23439
| * | | Merge topic 'doc-CheckPIESupported' into release-3.23Brad King2022-04-121-4/+7
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 91c859d1e5 CheckPIESupported: Prevent separate output lines running together ab5455aa79 Help: Correct/add missing details for CheckPIESupported Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7157
* | | | | CPack/DMG: Do not use CPACK_RESOURCE_FILE_LICENSE for SLA by defaultBrad King2022-04-141-2/+14
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Since macOS 12.0 deprecated the tools needed to attach a SLA to a `.dmg`, we should no longer do this by default. Add a policy to change the default to off. Fixes: #22978
* | | | Merge topic 'FindGit-no-easygit'Brad King2022-04-141-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b656a3fa16 FindGit: remove EasyGit Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7169
| * | | | FindGit: remove EasyGitMichael Hirsch2022-04-111-3/+3
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Blame shows EasyGit was part of initial FindGit 11 years ago. I can hardly find Easy Git as a package. Given that Git is vital for many complex CMake projects, it seems good to ensure CMake FindGit is finding a Git program likely to work. Crucial CMake modules like FetchContent also use FindGit, emphasizing the importance of having a Git executable with proper functionality.
* | | | Merge topic 'FindwxWidgets-mingw'Brad King2022-04-121-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6fac8af9ca FindwxWidgets: set wxWidgets_FIND_STYLE to unix on MINGW Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7162
| * | | | FindwxWidgets: set wxWidgets_FIND_STYLE to unix on MINGWMehdi Chinoune2022-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | The MinGW variant has wx-config which make it easier to find.
* | | | | Merge topic 'FindGLUT-freeglut'Brad King2022-04-121-1/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c45465ffb FindGLUT: Search for freeglut as well using PkgConfig. 804ce3ee42 FindGLUT: Search for "freeglut" first On Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7161
| * | | | | FindGLUT: Search for freeglut as well using PkgConfig.Mehdi Chinoune2022-04-111-0/+3
| | | | | |
| * | | | | FindGLUT: Search for "freeglut" first On WindowsMehdi Chinoune2022-04-111-1/+1
| |/ / / /
* | | | | Merge topic 'doc-CheckPIESupported'Brad King2022-04-121-4/+7
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 91c859d1e5 CheckPIESupported: Prevent separate output lines running together ab5455aa79 Help: Correct/add missing details for CheckPIESupported Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7157
| * | | | CheckPIESupported: Prevent separate output lines running togetherCraig Scott2022-04-111-1/+1
| | | | |
| * | | | Help: Correct/add missing details for CheckPIESupportedCraig Scott2022-04-111-3/+6
| | | | |
* | | | | Merge topic 'FindPostgreSQL-14'Brad King2022-04-121-2/+2
|\ \ \ \ \ | |_|_|/ / |/| | | / | | |_|/ | |/| | | | | | | | | | 23671318f3 FindPostgreSQL: add support for PostgreSQL 14 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7158
| * | | FindPostgreSQL: add support for PostgreSQL 14Even Rouault2022-04-111-2/+2
| |/ /
* | | Merge topic 'check-flag-fembed-bitcode-conflict'Brad King2022-04-111-0/+69
|\ \ \ | |/ / | | / | |/ |/| | | | | a10fc754a6 CheckSourceCompiles: Avoid linker warning with -fembed-bitcode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7156
| * CheckSourceCompiles: Avoid linker warning with -fembed-bitcodeCraig Scott2022-04-091-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the Apple linker sees -headerpad_max_install_names and bitcode is enabled with a flag like -fembed-bitcode, it issues a warning and ignores the -headerpad_max_install_names flag. This causes unrelated compiler and linker flag checks to fail for valid flags. In f745e0497e (CheckCompilerFlags: Catch linker warning about ignored flags, 2022-01-03), we started detecting linker warnings, which caused a regression for projects that were setting -fembed-bitcode in their CMAKE_CXX_FLAGS or similar. Prevent that regression by removing the -headerpad_max_install_names linker flag when we know it will warn and be ignored anyway. Fixes: #23390 Issue: #23408
* | Merge topic 'CheckCompilerFlag-restore-env'Brad King2022-04-081-2/+2
|\ \ | |/ | | | | | | | | | | | | 9dd585d12c CheckCompilerFlag: Fix regression in locale environment preservation Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7153
| * CheckCompilerFlag: Fix regression in locale environment preservationBrad King2022-04-071-2/+2
| | | | | | | | | | | | | | Fix a typo from commit 660e0d80ae (internal/CheckCompilerFlag: rely on common configuration, 2022-01-12, v3.23.0-rc1~124^2~1) that caused locale environment variables to not be restored after they are set during the check.
| * Merge topic 'GNUInstallDirs-revert-multiarch-prefixes' into release-3.23Brad King2022-03-311-4/+2
| |\ | | | | | | | | | | | | | | | | | | | | | 624ec3692f GNUInstallDirs: Revert "Apply Debian multiarch LIBDIR to more prefixes" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7127
* | \ Merge topic 'FindJNI-targets'Brad King2022-04-071-36/+311
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 00c4f488f2 FindJNI: support Android NDK 171d45c039 FindJNI: added components and imported targets 35e92ec619 FindJNI: improved description Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !7069
| * | | FindJNI: support Android NDKSergiu Deitsch2022-04-051-14/+142
| | | |
| * | | FindJNI: added components and imported targetsSergiu Deitsch2022-04-041-25/+172
| | | |
| * | | FindJNI: improved descriptionSergiu Deitsch2022-04-041-9/+9
| | | |
* | | | Merge topic 'adsp-platform-and-compilers'Brad King2022-04-0611-7/+149
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87142bbd5f ADSP: Add dedicated platform module e9eabb0dcd ADSP: Configure compiler in compiler module 88b38f531a ADSP: Support both VDSP++ and CCES for ADSP compilers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7123
| * | | | ADSP: Add dedicated platform moduleChris Wright2022-04-046-1/+71
| | | | |
| * | | | ADSP: Configure compiler in compiler moduleChris Wright2022-04-045-1/+72
| | | | |
| * | | | ADSP: Support both VDSP++ and CCES for ADSP compilersChris Wright2022-04-041-6/+7
| |/ / /
* | | | FindMatlab: Add NO_IMPLICIT_LINK_TO_MATLAB_LIBRARIES option to matlab_add_mexSilvio2022-04-051-10/+21
|/ / /
* | | Merge topic 'quiet_pkg-config'Brad King2022-03-314-7/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 99f7d1973c FindGSL: Quiet pkg-config errors 655582e931 FindLAPACK: Quiet pkg-config errors 6dab35e25d FindBLAS: Quiet pkg-config errors b2a7f73b55 FindGLUT: Quiet pkg-config errors Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7128
| * | | FindGSL: Quiet pkg-config errorsnega2022-03-301-1/+1
| | | | | | | | | | | | | | | | Issue: #23314
| * | | FindLAPACK: Quiet pkg-config errorsnega2022-03-301-2/+2
| | | | | | | | | | | | | | | | Issue: #23314
| * | | FindBLAS: Quiet pkg-config errorsnega2022-03-301-2/+2
| | | | | | | | | | | | | | | | Issue: #23314
| * | | FindGLUT: Quiet pkg-config errorsnega2022-03-301-2/+2
| | | | | | | | | | | | | | | | Issue: #23314
* | | | Merge topic 'GNUInstallDirs-revert-multiarch-prefixes'Brad King2022-03-311-4/+2
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 624ec3692f GNUInstallDirs: Revert "Apply Debian multiarch LIBDIR to more prefixes" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7127
| * | | GNUInstallDirs: Revert "Apply Debian multiarch LIBDIR to more prefixes"Brad King2022-03-301-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit dd9584b352 (GNUInstallDirs: Apply Debian multiarch LIBDIR to more prefixes, 2021-11-19, v3.23.0-rc1~323^2). There are separate problems with activating multiarch `LIBDIR` for each prefix it added: * Prefix `/` is often used to stage an installation with `DESTDIR` for inclusion in a tarball package or similar. * Prefix `/usr/local` is the default `CMAKE_INSTALL_PREFIX`, causing the multiarch `LIBDIR` to be cached after the first configuration, even if the prefix changes later. Revert the change for now, except for the documentation update. Further discussion will be needed to select a way to enable multiarch `LIBDIR` for `/` and `/usr/local`. Fixes: #23365 Issue: #19698
* | | | Merge topic 'CMakeDependentOption-doc-improvement'Brad King2022-03-311-7/+12
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | | | | 7a614977f9 CMakeDependentOption: improve documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Rui Oliveira <ruimail24@gmail.com> Merge-request: !7124
| * | CMakeDependentOption: improve documentationBen Boeckel2022-03-301-7/+12
| |/ | | | | | | | | | | | | | | | | | | | | | | This makes it far clearer that `<depends>` is a list up front instead of burying the lede because a list is generally "trivially true" in CMake[1]. Also clarify that `<force>` is only available as a local variable and if queried outside of the "scope" of the `cmake_dependent_option` call, will get the stored user cache value. [1] The exception being when the last entry ends in `-NOTFOUND`. Suggested-by: Rui Oliveira
| * Merge topic 'cpack-ifw-4.3' into release-3.23Brad King2022-03-281-0/+1
| |\ | | | | | | | | | | | | | | | | | | 343ed1f913 CPack/IFW: Add support for QtIFW 4.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7114
* | \ Merge topic 'FindHDF5-library'Brad King2022-03-301-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | e4e309f165 FindHDF5: Add explicit library location instead of guessed library name. Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !7105