summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'revert-FindFreetype-use-config'Brad King2024-01-261-98/+0
|\ | | | | | | | | | | | | | | b5725ae619 FindFreetype: Revert use of upstream freetype cmake package Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9187
| * FindFreetype: Revert use of upstream freetype cmake packageBrad King2024-01-251-98/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The upstream freetype cmake package uses generator expressions and imported target to express its dependencies. That's fine on its own. However, our use of it since commit d83d925045 (FindFreetype: use `freetype-config.cmake` if available, 2023-09-06, v3.28.0-rc1~130^2) causes the `FREETYPE_LIBRARIES` result variable to reference those imported targets and create a package-level dependency for clients that did not exist previously. Revert that change for now, along with its follow-up fixes. Further investigation will be needed to solve the motivating use case another way. Fixes: #25635
* | Merge topic 'find-matlab-docs-mcr-version-mapping'Brad King2024-01-261-1/+11
|\ \ | | | | | | | | | | | | | | | | | | 29fece7ef3 FindMatlab: Document that version mappings do not apply to MCR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9184
| * | FindMatlab: Document that version mappings do not apply to MCRHermann von Kleist2024-01-251-1/+11
| |/
* | Merge topic 'find-matlab-fix-nonzero-patch-version'Brad King2024-01-261-4/+5
|\ \ | | | | | | | | | | | | | | | | | | b1e27b1b9d FindMatlab: Some versions use major.minor.patch in the registry Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9183
| * | FindMatlab: Some versions use major.minor.patch in the registryHermann von Kleist2024-01-251-4/+5
| |/ | | | | | | Fixes #25631.
* | Merge topic 'cpack-wix-msi-status'Brad King2024-01-251-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 3ed275bbb6 CPack/WiX: Fix installer status text Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9182
| * | CPack/WiX: Fix installer status textBrad King2024-01-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, installers displayed extra text on some Windows versions: File: [1], Directory: [9], Size [6] Add an option to our WiX templates to suppress that. Fixes: #25634
* | | IntelLLVM: support marking include paths as SYSTEM directoriesBen Boeckel2024-01-241-0/+6
|/ / | | | | | | | | | | Also learn how to suppress warnings when possible. See: https://discourse.cmake.org/t/icx-on-windows-supports-external-i/8739
* | Merge topic 'cpack-rpm-threads'Brad King2024-01-241-1/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | 453742ae88 CPack/RPM: Enable rpm threads during package generation Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9178
| * | CPack/RPM: Enable rpm threads during package generationElijah Zarezky2024-01-231-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Previously, `w7.xzdio` only used a single CPU core. Honor `CPACK_THREADS`: `w7T${CPACK_THREADS}.xzdio` uses the specified number of threads. `w7T.xzdio` uses all available CPU cores. Fixes: #25615
* | | Merge topic 'FindMatlab-docs'Brad King2024-01-231-10/+7
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | b8665d44ba FindMatlab: Fix error message from function 44d2cf3ed4 FindMatlab: Document all registry paths for version lookup 363a7d4693 FindMatlab: matlab_get_release_name_from_version is a function now Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9175
| * | FindMatlab: Fix error message from functionHermann von Kleist2024-01-221-1/+1
| | |
| * | FindMatlab: Document all registry paths for version lookupHermann von Kleist2024-01-221-3/+4
| | |
| * | FindMatlab: matlab_get_release_name_from_version is a function nowHermann von Kleist2024-01-221-6/+2
| | |
* | | Merge topic 'cuda-clang-windows'Brad King2024-01-234-6/+22
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 88c740462c CUDA/Clang: Add support for MSVC ABI on Windows using GNU-like frontend Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !9172
| * | CUDA/Clang: Add support for MSVC ABI on Windows using GNU-like frontendBrad King2024-01-224-6/+22
| | | | | | | | | | | | Fixes: #20776
* | | Merge topic 'find_library-msvc-libfoo.a'Brad King2024-01-221-1/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c6efbd78d8 MSVC: Teach find_library to consider the 'libfoo.a' naming convention Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9173
| * | | MSVC: Teach find_library to consider the 'libfoo.a' naming conventionBrad King2024-01-191-1/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When targeting the GNU ABI, we consider `.a` libraries first but also accept `.lib`. For symmetry, when targeting the MSVC ABI, we now consider `.lib` first but also accept `.a`. This adds support for meson-generated static libraries, which are named with the pattern `lib${foo}.a`: * https://mesonbuild.com/FAQ.html#why-does-building-my-project-with-msvc-output-static-libraries-called-libfooa Note that this was previously attempted by * commit be848a71b0 (MSVC: Teach find_library to consider the 'libfoo.a' naming convention, 2022-09-19, v3.25.0-rc1~111^2) but was reverted by * commit 955d6245c1 (MSVC: Revert "Teach find_library to consider the 'libfoo.a' naming convention", 2022-11-28, v3.25.1~6^2) due to problems finding GNU ABI libraries in PATH-derived prefixes. Since then, * commit 0a81110b84 (find_(library|file|path): Drop PATH-derived search prefixes, 2023-09-14, v3.28.0-rc1~91^2) removed the problematic search paths, so we can restore this change. Fixes: #23975
* | | Merge topic 'FindMPI.IntelLLVM'Brad King2024-01-221-6/+6
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 5e700411d2 FindMPI: add IntelLLVM MPI wrappers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9170
| * | FindMPI: add IntelLLVM MPI wrappersEisuke Kawashima2024-01-191-6/+6
| | | | | | | | | | | | | | | The Intel MPI library now provides `mpiicx`, `mpiicpx`, and `mpiifx` wrappers, which respectively use `icx`, `icpx`, and `ifx` by default.
* | | Merge topic 'matlab-env'Brad King2024-01-191-16/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f7d87b40d FindMatlab: use NAMES for find_* 9e97893147 FindMatlab: set MATLAB_ARCH per process call Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9161
| * | | FindMatlab: use NAMES for find_*scivision2024-01-171-12/+12
| | | | | | | | | | | | | | | | | | | | this improves readability especially for custom function _Matlab_find_library
| * | | FindMatlab: set MATLAB_ARCH per process callscivision2024-01-171-4/+4
| | | | | | | | | | | | | | | | this is just a best practice refactor.
* | | | Merge topic 'cuda-clang'Brad King2024-01-191-6/+8
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | | | | | | | 6251edc5a4 CUDA/Clang: Record architectures supported by Clang 16 07b7d0ceaa CUDA/Clang: Update architectures supported by CUDA 12 Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !9164
| * | CUDA/Clang: Record architectures supported by Clang 16Brad King2024-01-181-2/+6
| | |
| * | CUDA/Clang: Update architectures supported by CUDA 12Brad King2024-01-181-4/+2
| | | | | | | | | | | | | | | | | | | | | In commit 4d90f65b24 (CUDA: Update set of architectures supported by CUDA 12, 2022-12-19, v3.26.0-rc1~120^2) we incorrectly guarded dropping removed architectures by compiler id, but it is actually the CUDA 12 toolkit itself that removed support.
* | | Merge topic 'FindPackageMessage-strip-spaces'Brad King2024-01-181-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4ecfd1a7dc FindPackageMessage: Remove extra whitespace from messages Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9156
| * | | FindPackageMessage: Remove extra whitespace from messagesMáté Ferenc Nagy-Egri2024-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | In particular, the call to `find_package_message` from FPHSA may have extra whitespace in some cases.
* | | | Merge topic 'FindMatlab-fix-exact-version'Brad King2024-01-181-1/+12
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 7060e2135c FindMatlab: Restore support for finding EXACT major.minor version 88a1392270 FindMatlab: use correct registry view when extracting versions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9163
| * | | FindMatlab: Restore support for finding EXACT major.minor versionHermann von Kleist2024-01-171-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | By comparing major.minor, the behavior approximately matches pre-3.28 behavior. Fixes: #25605
| * | | FindMatlab: use correct registry view when extracting versionsHermann von Kleist2024-01-171-0/+1
| | | |
* | | | Merge topic 'lcc-updates-2024-01'Brad King2024-01-171-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 202f4b3161 Tests: Exclude some tests on broken libc on Elbrus 9dd0ab9c88 LCC: Make CMake build without warnings on LCC 1.21 1dbb31cea2 libarchive: avoid lchmod not implemented warning on old LCC 83af26d9ad LCC: Don't enable debugger on LCC that don't have <future> fa764ce311 liblzma: Make cmliblzma buildable on LCC 1.21 77e046b47c jsoncpp: fix missing template deletion support on LCC < 1.23 67de0c197b cmcurl: fix X509_STORE_up_ref issue not just on LCC 1.23, but on LCC <= 1.23 9bc2aba3b4 LCC: get rid of ambiguous assignments of {} for LCC ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9157
| * | | | LCC: Correct C compiler default C standardsmakise-homura2024-01-161-1/+1
| | |/ / | |/| |
* | | | Merge topic 'FindX11-Xdbe'Brad King2024-01-171-0/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b118132c5f FindX11: Add awareness of Xdbe Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !9153
| * | | | FindX11: Add awareness of XdbeKristian Spangsege2024-01-161-0/+12
| |/ / / | | | | | | | | | | | | Fixes: #25591
* | | | Merge topic 'matlab-win'Brad King2024-01-171-61/+53
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| | | | | | | | | | | 42fbe01eba FindMatlab: Accept long version in matlab_get_release_name_from_version c608adc236 FindMatlab: Fix major.minor version lookups in Windows Registry Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9148
| * | FindMatlab: Accept long version in matlab_get_release_name_from_versionscivision2024-01-161-17/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make this work: matlab_get_release_name_from_version(${Matlab_VERSION}) which the user would expect. While at it, simplify this function code.
| * | FindMatlab: Fix major.minor version lookups in Windows Registryscivision2024-01-161-45/+47
| | | | | | | | | | | | | | | | | | | | | The registry key names use only the first two version components. Previously we were using the full versions. Fixes: #25582
* | | Merge topic 'FindMatlab-fix-version-without-versioninfoxml'Brad King2024-01-161-12/+13
|\ \ \ | |/ / | | / | |/ |/| | | | | 694727bb45 FindMatlab: Restore support for versions without VersionInfo.xml Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9151
| * FindMatlab: Restore support for versions without VersionInfo.xmlHermann von Kleist2024-01-121-12/+13
| | | | | | | | | | | | | | | | Report "unknown" in `_Matlab_VersionInfoXML` if file is missing. Fix omitted MATLAB root with unknown version from XML. Fixes: #25585 Fixes: #25586
| * Merge topic 'check_language_propagate_hip_platform' into release-3.28Brad King2024-01-051-2/+26
| |\ | | | | | | | | | | | | | | | | | | | | | ce9c6d0994 HIP: Propagate CMAKE_HIP_PLATFORM from/to the test project in check_language 9ba3fc91e5 HIP: Really forward CMAKE_HIP_HOST_COMPILER in check_language(HIP) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9121
| * \ Merge topic 'revert-ExternalProject-download-byproducts' into release-3.28Brad King2024-01-041-9/+5
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | fd3c9876c6 ExternalProject: revert `BYPRODUCTS` for download outputs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9097
* | \ \ Merge topic 'swift-implib'Brad King2024-01-111-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a2aad7eb8d Swift: fix Windows DLL import library support for CMP0157 NEW Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Jeremy Day <jadaytime@gmail.com> Merge-request: !9140
| * | | | Swift: fix Windows DLL import library support for CMP0157 NEWSaleem Abdulrasool2024-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was accidentally removed when the command templates were reorganized to introduce the new policy. Restore the flag in the shared library creation to ensure that we emit the import libraries to the correct location.
* | | | | Merge topic 'package-dispatch-apple'Brad King2024-01-112-66/+66
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2a398cd9b6 CMakePackageConfigHelpers: Clarify generate_apple_*_selection_file signatures Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9130
| * | | | | CMakePackageConfigHelpers: Clarify generate_apple_*_selection_file signaturesBrad King2024-01-052-66/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The helpers added by: * commit 37bc3400cd (CMakePackageConfigHelpers: Add generate_apple_platform_selection_file(), 2023-11-03) * commit 4ac5a2f866 (CMakePackageConfigHelpers: Add generate_apple_architecture_selection_file(), 2023-12-19) were worded in terms of including package configuration files, but the actual functionality is to include files *from* package configuration files. The included files do not themselves need to be usable as package configuration files. Rename the options and clarify the documentation accordingly. Issue: #25262 Issue: #25516
* | | | | | FindCxxTest: Drop broken anchor on link to cxxtest project pageBrad King2024-01-101-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'ewilde/swift-ninja-response-files'Brad King2024-01-091-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a6a5c43300 Swift/Ninja: Add support for response files Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9098
| * | | | | Swift/Ninja: Add support for response filesEvan Wilde2024-01-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding support for `CMAKE_NINJA_FORCE_RESPONSE_FILE` with Swift. Issue: #25490 Fixes: #25563