summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cmp0159_warnings'Brad King2024-04-0170-0/+290
|\ | | | | | | | | | | | | | | 3cd64287fe Modules: Fix CMP0159 warnings in modules when tracing Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9385
| * Modules: Fix CMP0159 warnings in modules when tracingJuan Ramos2024-03-2970-0/+290
| | | | | | | | Closes: #25829
* | Merge topic 'check-Werror-CMP0066'Brad King2024-04-012-6/+27
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cebcc07a80 CheckSymbolExists: Remove -Werror from per-config flags 06c99ce73b CheckSymbolExists: Avoid removing the flag after -Werror e60281e968 CMakeDetermineCompilerABI: Remove -Werror from per-config flags 6abd25e7fd Help: Fix a typo Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9377
| * | CheckSymbolExists: Remove -Werror from per-config flagsSung, Po Han2024-03-281-5/+19
| | | | | | | | | | | | | | | | | | Extend the fix from commit 1ab7c3cd28 (CheckSymbolExists: Work around GCC failure with -pedantic-errors option, 2021-10-22, v3.23.0-rc1~498^2) to apply to the per-config flags propagated by CMP0066's NEW behavior.
| * | CheckSymbolExists: Avoid removing the flag after -WerrorSung, Po Han2024-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | In commit 1ab7c3cd28 (CheckSymbolExists: Work around GCC failure with -pedantic-errors option, 2021-10-22, v3.23.0-rc1~498^2) we used the same code that was fixed by commit cec6f98018 (CMakeDetermineCompilerABI: Avoid removing the flag after -Werror, 2023-05-29, v3.26.5~4^2). Apply the fix to CheckSymbolExists too.
| * | CMakeDetermineCompilerABI: Remove -Werror from per-config flagsSung, Po Han2024-03-281-1/+8
| |/ | | | | | | | | | | | | | | | | | | | | Extend the fixes from * commit 079ea66468 (CMakeDetermineCompilerABI: Handle NVCC-style -Werror flags, 2020-10-04, v3.19.0-rc1~45^2), and * commit cec6f98018 (CMakeDetermineCompilerABI: Avoid removing the flag after -Werror, 2023-05-29, v3.26.5~4^2) to apply to the per-config flags propagated by CMP0066's NEW behavior.
* | Merge topic 'tls-verify'Brad King2024-04-012-15/+32
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7139944264 ctest: Fall back to CMake environment variable for TLS server verification c295df53c6 ctest: Test fallback to CMake options for TLS server verification 0d250dd021 ExternalProject: Honor CMAKE_TLS_VERIFY environment variable e8404502b1 ExternalProject: Revise TLS_VERIFY wording to use TLS_VERSION pattern 46faaf9667 file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERIFY environment variable 8b0169fe2b file(DOWNLOAD|UPLOAD): Add test covering CMAKE_TLS_VERIFY cmake variable 93886f5c7d file(DOWNLOAD|UPLOAD): Avoid unnecessary CMAKE_TLS_VERIFY variable lookup bed32f400e file(DOWNLOAD|UPLOAD): Document TLS_VERSION fallback to environment variable ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9389
| * | ctest: Fall back to CMake environment variable for TLS server verificationBrad King2024-03-301-2/+6
| | | | | | | | | | | | | | | | | | | | | Use `ENV{CMAKE_TLS_VERIFY}` if `CTEST_TLS_VERIFY` or `CMAKE_TLS_VERIFY` is not set. Issue: #23608
| * | ExternalProject: Honor CMAKE_TLS_VERIFY environment variableBrad King2024-03-301-9/+19
| | | | | | | | | | | | Issue: #23608
| * | ExternalProject: Revise TLS_VERIFY wording to use TLS_VERSION patternBrad King2024-03-301-11/+14
| | |
* | | Merge topic 'nested-package-config-file'Brad King2024-04-011-9/+35
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 6ddf8712cd CMakePackageConfigHelpers: Use unique variable name for pkg prefix 91b9d35608 CMakePackageConfigHelpers: Remove unused variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9390
| * | 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
| * \ \ 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
* | \ \ \ Merge topic 'cpack-wix'Brad King2024-03-282-11/+70
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 03884f4f32 CPack/WIX: Add support for WiX Toolset v4 cfe5bbdc54 ci: Add scripts to provide WiX 4 package on Windows c8e2694679 ci: Add script to repackage WiX .NET tool for our needs e7f5ad8df2 Tests: Prepare RunCMake.CPack_WIX to cover multiple WiX versions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9369
| * | | | | CPack/WIX: Add support for WiX Toolset v4Brad King2024-03-242-11/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `CPACK_WIX_VERSION` option to specify version WiX for which the project is configured. Fixes: #23910
* | | | | | Merge topic 'ExternalProject-list-separator-docs-example'Brad 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'Brad 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
* | | | Merge topic 'patch-find-sqlite3'Brad King2024-03-271-2/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb30b18437 FindSQLite3: Use pkg-config for SQLite3 hints Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9374
| * | | | FindSQLite3: Use pkg-config for SQLite3 hintsPeter Kokot2024-03-261-2/+11
| | | | |
* | | | | Merge topic 'FindCURL-libcurl_a'Brad King2024-03-261-0/+2
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | a76aad6ca6 FindCURL: Add support for finding static `libcurl_a.lib` on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9367
| * | | | FindCURL: Add support for finding static `libcurl_a.lib` on WindowsAlex Overchenko2024-03-251-0/+2
| | | | | | | | | | | | | | | | | | | | Fixes: #25810
* | | | | Merge topic 'swift-color-diagnostics'Brad King2024-03-261-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ff7a09d719 Swift: Honor CMAKE_COLOR_DIAGNOSTICS for command-line build systems Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9365
| * | | | | Swift: Honor CMAKE_COLOR_DIAGNOSTICS for command-line build systemsEvan Wilde2024-03-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the missing flags to enable and disable color diagnostics for Swift. Fixes: #25815
* | | | | | Merge topic 'open-watcom'Brad King2024-03-261-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 71d3aa1499 OpenWatcom: Fix Windows3x DLL linking Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9370
| * | | | | | OpenWatcom: Fix Windows3x DLL linkingJiri Malak2024-03-251-2/+2
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Fix DLL creation for 16-bit Windows.
* | | | | | Merge topic 'IntelLLVM-Fortran-no-isystem'Brad King2024-03-251-6/+6
|\ \ \ \ \ \ | |/ / / / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | a80d8e839d IntelLLVM: Revert accidental use of -external:I with Fortran compilers Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9368
| * | | | 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
* | | | CPack/WIX: Improve formatting of CPACK_WIX_CUSTOM_XMLNS expansionBrad King2024-03-221-1/+1
| | | |
* | | | CPack/WIX: Prepare to provide version-specific WiX templatesBrad King2024-03-221-0/+0
| |_|/ |/| | | | | | | | Move our template for WiX Toolset v3 to a versioned location.
* | | Merge topic 'FindPython_MKL_Workaround'Brad King2024-03-221-0/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | df551ee538 FindPython: fix NumPy detection when Intel MKL library is installed Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9359
| * | | FindPython: fix NumPy detection when Intel MKL library is installedEven Rouault2024-03-211-0/+16
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In an environment where both NumPy and a recent Intel MKL library are installed, the detection of numpy include directory fails because a 'import numpy' outputs a MKL related warning message on stdout... (namely "Intel MKL WARNING: Support of Intel(R) Advanced Vector Extensions (Intel(R) AVX) enabled only processors has been deprecated. Intel oneAPI Math Kernel Library will use Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) instructions instead.") I've successfully tested the workaround mentioned at https://github.com/numpy/numpy/issues/23775#issuecomment-1923327310 which consists in setting the MKL_ENABLE_INSTRUCTIONS=SSE4_2 environment before importing numpy, hence this proposed workaround.
* | | Merge topic 'matlab-2024a'Brad King2024-03-221-0/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | bade9832e6 FindMatlab: R2024a version map Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9360
| * | 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
* | \ \ Merge topic 'FindSWIG-enhance-lookup-strategy'Brad King2024-03-211-18/+56
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ff66a766f FindSWIG: Enhance lookup capabilities using VALIDATOR argument ef51650558 FindSWIG: Search now all artifacts per directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9357
| * | | | FindSWIG: Enhance lookup capabilities using VALIDATOR argumentMarc Chevrier2024-03-201-18/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, swig executable naming strategy is a bit odd: For example swig4.0 executable can have version 4.2.0!i Moreover, not all platforms provide a versioned executable. So, to pick-up the right executable when multiple versions are available, use find_program(... VALIDATOR ...).
| * | | | FindSWIG: Search now all artifacts per directoryMarc Chevrier2024-03-201-1/+1
| | |_|/ | |/| | | | | | | | | | Fixes: #25566
* | | | Merge topic 'check-strict-prototypes'Brad King2024-03-214-6/+6
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 1a4610269a Modules: Fix checks under -Werror=strict-prototypes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9344
| * | | Modules: Fix checks under -Werror=strict-prototypesPeter Kokot2024-03-204-6/+6
| | | | | | | | | | | | | | | | | | | | This fixes configuration checks when using -Werror=strict-prototypes or -Wstrict-prototypes compiler flag, for example, via the CMAKE_C_FLAGS.
* | | | Merge topic 'package-dispatch-apple'Brad 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
* | | Merge topic 'doc-release-3.29-typos'Brad King2024-03-192-2/+2
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | eceb368ccc Help: Fix typos in 3.29 docs 31fb693d06 Help: Fix typos and grammar in pre-3.29 docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9353
| * | Help: Fix typos and grammar in pre-3.29 docsCraig Scott2024-03-192-2/+2
| |/