summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* FindJasper: Fix Jasper::Jasper IMPORTED_CONFIGURATIONSKai Pastor2024-04-101-2/+2
| | | | | | In commit 6e8754c625 (FindJasper: Add IMPORTED target, 2021-10-06, v3.22.0-rc1~20^2) this property was not set correctly. This was detected by `CMP0160` because the `IMPORTED` property is read-only.
* FindOpenSSL: Update layout for Shining Light Productions debug librariesMatthias Isele2024-04-031-0/+2
| | | | | | | The installer no longer names debug libraries with a `d` suffix. They are distinguished by the per-runtime-library directory containing them. Fixes: #25856
* FindOpenSSL: Update layout for Shining Light Productions 32-bit packageMatthias Isele2024-04-031-4/+6
| | | | Issue: #25856
* Merge topic 'artos-lib-prefix' into release-3.29Brad King2024-04-031-1/+1
|\ | | | | | | | | | | | | | | e6b63b5cb2 ARTOS: Add support for finding library files named with 'lib' prefix Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Bert Ezendam <bert.ezendam@alliander.com> Merge-request: !9399
| * ARTOS: Add support for finding library files named with 'lib' prefixBrad King2024-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Update the platform module added by commit 462fbd1eca (Add support for ARTOS platform using GNU C with ac compiler driver, 2015-08-13, v3.4.0-rc1~201^2) to tell `find_library` to consider library file names starting in `lib`. FindEXPAT needs this on ARTOS since commit 13079f382b (FindEXPAT: Fix for debug and other modified builds, 2023-02-18, v3.27.0-rc1~463^2) removed its explicit `libexpat` library name candidate. Fixes: #25776
* | Merge topic 'vs-intel-oneapi' into release-3.29Brad King2024-04-032-45/+34
|\ \ | | | | | | | | | | | | | | | | | | 3f5cd0389f IntelLLVM: Fix link flags with Visual Studio generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9398
| * | IntelLLVM: Fix link flags with Visual Studio generatorsBrad King2024-04-022-45/+34
| |/ | | | | | | | | | | | | | | | | | | | | | | The link flag wrapping added by commit 5d5a712303 (IntelLLVM: Pass linker flags to the compiler when used as linker, 2022-05-27, v3.25.0-rc1~344^2~4) is not needed with Visual Studio generators because MSBuild invokes the linker directly. Furthermore, that commit omitted wrapping of the per-config linker flags. Revise the logic to add the link flag wrapping more precisely. Fixes: #25533
* | Swift: Add CMAKE_LINKER_TYPE supportEvan Wilde2024-04-023-0/+23
|/ | | | | | Extend commit 96a953b1ed (Add options to specify linker tool, 2023-09-27, v3.29.0-rc1~577^2) with the `CMAKE_Swift_USING_LINKER_*` variables needed to support `CMAKE_LINKER_TYPE` for Swift.
* FindMPI: Fix finding IntelLLVM wrappers on WindowsBrad King2024-04-011-1/+1
| | | | | | | | | In commit 5e700411d2 (FindMPI: add IntelLLVM MPI wrappers, 2024-01-19, v3.29.0-rc1~92^2) we added `mpiicpx.bat` for C++ on Windows, but that is a GNU-like front-end that we do not yet support. Use `mpiicx.bat` for both C and C++ on Windows, just as we use `icx` to compile both. Fixes: #25807
* CMakePackageConfigHelpers: Use unique variable name for pkg prefixCraig Scott2024-03-311-7/+35
| | | | Fixes: #25827
* CMakePackageConfigHelpers: Remove unused variableCraig Scott2024-03-311-2/+0
|
* Merge topic 'ExternalProject-list-separator-docs-example' into release-3.29Brad King2024-03-281-4/+15
|\ | | | | | | | | | | | | | | 5d33f41e23 ExternalProject: reword `LIST_SEPARATOR` to indicate what it *does* 611ffce98c ExternalProject: add an example of `LIST_SEPARATOR` usage Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9376
| * ExternalProject: reword `LIST_SEPARATOR` to indicate what it *does*Ben Boeckel2024-03-281-7/+7
| | | | | | | | | | | | | | Also remove the (IMO) confusing suggestion to have ` ` as a separator as it interferes with things like spaces in argument values (e.g., paths) or generated arguments such as `-GUnix Makefiles`. The new example is likely more common usage of the facility.
| * ExternalProject: add an example of `LIST_SEPARATOR` usageBen Boeckel2024-03-281-1/+12
| |
* | Merge topic 'FindPkgConfig-no-Strawberry-Perl' into release-3.29Brad King2024-03-271-1/+16
|\ \ | |/ |/| | | | | | | | | | | | | d0dd134bdb FindPkgConfig: Avoid finding Strawberry Perl's pkg-config Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9375
| * FindPkgConfig: Avoid finding Strawberry Perl's pkg-configBrad King2024-03-261-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | Strawberry Perl may be in the `PATH` to provide `perl`, but it also comes with a `pkg-config` tool that is unrelated to normal MinGW distributions. Since commit c6efbd78d8 (MSVC: Teach find_library to consider the 'libfoo.a' naming convention, 2024-01-19, v3.29.0-rc1~91^2) we need to avoid searching Strawberry Perl's `.../c/lib` directory, so do not let its `pkg-config` point us there. Fixes: #25820 Issue: #23975
* | IntelLLVM: Revert accidental use of -external:I with Fortran compilersBrad King2024-03-241-6/+6
|/ | | | | | | | | In commit 8218aed118 (IntelLLVM: support marking include paths as SYSTEM directories, 2023-08-15, v3.29.0-rc1~81^2) this flag was added for the C and C++ compilers, but was accidentally added for Fortran too. Remove it for the latter, as it is unsupported. Issue: #25807
* FindMatlab: R2024a version mapscivision2024-03-211-0/+1
|
* Merge topic 'package-dispatch-apple' into release-3.29Brad King2024-03-203-25/+78
|\ | | | | | | | | | | | | | | | | | | | | 85d6d3b2e3 generate_apple_*_selection_file: Add option to capture errors 2149dbd379 generate_apple_architecture_selection_file: Document $(ARCHS_STANDARD) support be642f6ed5 generate_apple_architecture_selection_file: Simplify signature 8959ad9db1 Tests/RunCMake/CMakePackage: Fix Apple architecture selection argument order 677f3d721b Tests/RunCMake/CMakePackage: Add architecture i386 for macOS on Xcode < 10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9349
| * generate_apple_*_selection_file: Add option to capture errorsBrad King2024-03-193-10/+62
| | | | | | | | | | | | | | Add an option to capture error messages in a variable instead of terminating with a fatal error. Fixes: #25778
| * generate_apple_architecture_selection_file: Document $(ARCHS_STANDARD) supportBrad King2024-03-191-0/+4
| | | | | | | | | | | | Also add a test case. Fixes: #25780
| * generate_apple_architecture_selection_file: Simplify signatureBrad King2024-03-191-15/+12
| | | | | | | | | | | | | | Allow callers to pass multiple values to list-valued arguments instead of putting the entire list in a single quoted argument. Fixes: #25779
* | Help: Fix typos and grammar in pre-3.29 docsCraig Scott2024-03-192-2/+2
|/
* Merge topic 'LINKER_TYPE-mold-support' into release-3.29Brad King2024-03-141-1/+4
|\ | | | | | | | | | | | | | | | | 801ae06952 LINKER_TYPE: Support MOLD only on GCC versions that support it 939ac5287e LINKER_TYPE: fix spelling error in message 922883782b LINKER_TYPE: Document that linker tool should be in the PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9334
| * LINKER_TYPE: Support MOLD only on GCC versions that support itMarc Chevrier2024-03-131-1/+4
| | | | | | | | Fixes: #25748
* | Merge topic 'fc-MakeAvailable-leak-var' into release-3.29Brad King2024-03-141-13/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | 2b68048bdb FetchContent: Don't leak temporary variable and restore var robustly Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9338
| * | FetchContent: Don't leak temporary variable and restore var robustlyCraig Scott2024-03-131-13/+20
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In FetchContent_MakeAvailable(), the __fcprefix__ previously used when pushing the value of CMAKE_EXPORT_FIND_PACKAGE_NAME to the variable stack is not needed. The stack will never be empty at that point, so pushing an empty value will be handled correctly. By removing the __fcprefix__, we no longer need any temporary variable when restoring CMAKE_EXPORT_FIND_PACKAGE_NAME. But we need to ensure CMAKE_EXPORT_FIND_PACKAGE_NAME is left undefined if it wasn't defined before, and pushing an empty value doesn't let us distinguish between unset and set-but-empty. Therefore, when CMAKE_EXPORT_FIND_PACKAGE_NAME is undefined, push a specific value that can't be used by the project instead and check for that when popping it again. This ensures we can robustly distinguish the two cases and will always restore the right state. Fixes: #25758
* | LinkerId: Update detection of linker tool for Xcode 15.3Brad King2024-03-121-1/+1
|/ | | | | | Xcode now prints extra `ExecuteExternalTool` lines that happen to mention the linker tool, but not in conjunction with actually linking something. Ignore them.
* Merge topic 'llvm-objdump' into release-3.29Brad King2024-03-111-1/+1
|\ | | | | | | | | | | | | | | c51f84b96a GET_RUNTIME_DEPENDENCIES: Allow more whitespace before objdump's "DLL Name:" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9325
| * GET_RUNTIME_DEPENDENCIES: Allow more whitespace before objdump's "DLL Name:"Adrian Pop2024-03-101-1/+1
| | | | | | | | LLVM's `llvm-objdump` has spaces before "DLL Name:" instead of tabs.
* | ASM_MARMASM: Remove broken partial support for preprocessor definesAlexander Neumann2024-03-101-1/+1
|/ | | | | | | | | | | Avoid passing unsupported options to the assembler. In commit 3166547cf6 (ASM_MARMASM: Add support for Microsoft ARM assembler language, 2022-10-14, v3.26.0-rc1~383^2) we copied the assembler command line from `CMakeASM_MASMInformation`, but the `marmasm` tool does not accept `-D` command-line options. Issue: #24317
* FindRuby: Fix finding Ruby 3.1+ on WindowsCharlie Savage2024-03-051-6/+9
| | | | It switched to the UCRT C runtime.
* FindRuby: Add support for 3.3Charlie Savage2024-03-051-6/+6
|
* Merge topic 'FindTIFF-cmake-package' into release-3.29Brad King2024-03-011-4/+5
|\ | | | | | | | | | | | | b6b2f73f36 FindTIFF: Fix name of upstream TIFF cmake package Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9300
| * FindTIFF: Fix name of upstream TIFF cmake packageBrad King2024-02-291-4/+5
| | | | | | | | | | | | | | | | Since commit 6a3059e66f (FindTIFF: bridge `tiff-config` into FindTIFF-compatible interface, 2023-09-14, v3.28.0-rc1~87^2) we try to find the upstream TIFF cmake package. However, it is called `TiffConfig.cmake`, not `tiff-config.cmake`, so we need to match the capitalization of the package name.
* | Merge topic 'clang-use-arg1' into release-3.29Brad King2024-02-271-1/+3
|\ \ | |/ | | | | | | | | | | 7008fc234b CMakeDetermineCompilerId: use `_ARG1` to query the clang resource dir Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9285
| * CMakeDetermineCompilerId: use `_ARG1` to query the clang resource dirBen Boeckel2024-02-261-1/+3
| | | | | | | | Other core queries do this, so do it here too.
* | Merge topic 'FindOpenSSL-SLP-layout' into release-3.29Brad King2024-02-261-6/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | 1327e0ff75 FindOpenSSL: Update layout for Shining Light Productions package on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9283
| * | FindOpenSSL: Update layout for Shining Light Productions package on WindowsMatthias Isele2024-02-231-6/+20
| | | | | | | | | | | | Fixes: #25702
* | | FindOpenMP: Restore support for Intel compilers on WindowsBrad King2024-02-231-1/+1
|/ / | | | | | | | | | | | | | | Fix the condition added by commit 3019af64c2 (FindOpenMP: Add support for GNU-like Clang targeting MSVC ABI, 2024-02-08, v3.29.0-rc1~8^2~1) to be more specific. Fixes: #25711
* | Merge topic 'cxxmodules-clang-resource-dir' into release-3.29Brad King2024-02-223-0/+31
|\ \ | |/ | | | | | | | | | | a3ada1a241 Clang: detect -resource-dir for clang-scan-deps Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9274
| * Clang: detect -resource-dir for clang-scan-depsBen Boeckel2024-02-213-0/+31
| | | | | | | | | | | | | | | | When cross-compiling, `clang-scan-deps` needs help to find the correct location of core headers such as `stddef.h`. Always determine this path and pass it when available. Fixes: #25590
* | Merge topic 'doc-install-relative-paths' into release-3.29Brad King2024-02-161-5/+15
|\ \ | | | | | | | | | | | | | | | | | | af293ff7c3 Help: Explicitly discourage absolute install destinations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9261
| * | Help: Explicitly discourage absolute install destinationsRobert Maynard2024-02-161-5/+15
| | | | | | | | | | | | | | | Document some of the problems caused by absolute install destinations. Encourage use of relative paths.
* | | IPO: Support duplicate object names in large archivesRuslan Baratov2024-02-155-10/+10
|/ / | | | | | | | | | | | | | | | | Apply the fix from commit 1ec6485c6a (Support duplicate object names in large archives, 2014-04-16, v3.1.0-rc1~629^2) to the IPO-specific archiving rules. Use "quick append" instead of "replace". Fixes: #25675 Issue: #14874
* | Merge topic 'clang-windows-make-depends' into release-3.29Brad King2024-02-132-2/+2
|\ \ | | | | | | | | | | | | | | | | | | 492f456c1c Clang: Fix typo to enable compiler-generated Makefile dependencies on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9245
| * | Clang: Fix typo to enable compiler-generated Makefile dependencies on WindowsBrad King2024-02-122-2/+2
| | | | | | | | | | | | | | | Fix a typo from commit 2c71d051fa (Makefiles Generators: use compiler for dependencies generation, 2020-10-18, v3.20.0-rc1~392^2).
* | | Merge topic 'mingw-objc-objcxx' into release-3.29Brad King2024-02-136-0/+42
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2a4e8f03ef MinGW: Add support for OBJC and OBJCXX Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !9244
| * | | MinGW: Add support for OBJC and OBJCXXمهدي شينون (Mehdi Chinoune)2024-02-136-0/+42
| |/ /
* | | FindCUDAToolkit: Fix cuda driver dependenciesRobert Maynard2024-02-121-3/+1
|/ / | | | | | | Fixes: #25665