summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* FindPython: Adds control over artifact names to searchMarc Chevrier2020-11-034-2/+66
| | | | Fixes: #21371
* Merge topic '19128_ICU_case_consistency'Brad King2020-11-031-7/+5
|\ | | | | | | | | | | | | ec23338187 FindICU: Improve case consistency in documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5452
| * FindICU: Improve case consistency in documentationRoger Leigh2020-10-311-7/+5
| |
* | Merge topic 'android-hooks'Brad King2020-11-035-0/+60
|\ \ | | | | | | | | | | | | | | | | | | 707a06761f Android: add NDK hooks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5436
| * | Android: add NDK hooksHaibo Huang2020-10-305-0/+60
| | | | | | | | | | | | | | | This change adds hooks to key Android support files, so that NDK can inject information or change cmake behaviors.
* | | Merge topic 'fix-cuda-qnx'Brad King2020-11-033-3/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0832516bec Help: Add 3.19 release note about CUDA support on QNX bcdd486bf7 CUDA: Enable support on QNX Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Raul Tambre <raul@tambre.ee> Merge-request: !5446
| * | | CUDA: Enable support on QNXjanbernloehr2020-11-023-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following two issues with the CUDA support on QNX: * cuda target name is not derived correctly (should be `aarch64-qnx`). * linking `cudart` must not be linked against `rt`, `dl`, `pthread`. This enables to use cmake's native cuda support on QNX. Fixes: #21381
* | | | Merge topic 'doc-cpack-pre-post-scripts'Craig Scott2020-11-031-16/+28
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b77dfa441f Help: Clarify variables specifying scripts to execute during packaging Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !5454
| * | | | Help: Clarify variables specifying scripts to execute during packagingCraig Scott2020-11-031-16/+28
| | | | | | | | | | | | | | | Relates: #19077
| * | | | Merge topic 'CheckSourceRuns-compatibility' into release-3.19Brad King2020-10-305-1/+14
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | a524bf3aa7 CheckSourceRuns: do not fail on unrecognized arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5426
* | | | | Merge topic 'FindBoost-config-mode'Brad King2020-11-021-2/+8
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | 685fa8bec0 FindBoost: Avoid leaking internal Boost_ROOT setting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5445
| * | | | FindBoost: Avoid leaking internal Boost_ROOT settingBrad King2020-10-301-2/+8
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 4b2a61946f (FindBoost: Honor BOOST_ROOT when finding upstream BoostConfig, 2020-10-22, v3.19.0-rc2~14^2) we accidentally leak our internal setting of `Boost_ROOT`. Revise the logic to unset our temporary value. Fixes: #21379
* | | | Merge topic 'CheckSourceRuns-compatibility'Brad King2020-10-305-1/+14
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| | | | | | | | a524bf3aa7 CheckSourceRuns: do not fail on unrecognized arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5426
| * | CheckSourceRuns: do not fail on unrecognized argumentsBen Boeckel2020-10-285-1/+14
| | | | | | | | | | | | | | | | | | | | | The old `check_X_source_runs` modules did not verify the arguments, so we cannot start doing it now. Downgrade the hard error introduced in commit 357e2ef429 (CheckSoureRuns: Add a unified way to check if a source runs, 2020-09-14) via !5223 into a noisy warning.
* | | Merge topic 'llvm-rc-CMAKE_RC_FLAGS'Brad King2020-10-291-1/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ea03f50842 llvm_rc: add llvm_rc option filter to correctly pick up all options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5412
| * | | llvm_rc: add llvm_rc option filter to correctly pick up all optionsThomas Bernard2020-10-281-1/+3
| | | | | | | | | | | | | | | | Fixes: #21315
* | | | Merge topic 'FindRuby-restore-VENDORLIB_DIR'Brad King2020-10-281-0/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 80e693152c Merge branch 'release-3.19' into FindRuby-restore-VENDORLIB_DIR 4c0ef57e8c FindRuby: Restore compatibility variable RUBY_VENDORLIB_DIR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5434
| * | | Merge branch 'release-3.19' into FindRuby-restore-VENDORLIB_DIRBrad King2020-10-27181-2002/+3910
| |\ \ \ | | | |/ | | |/|
| | * | Merge topic 'correct_msvc_cuda_flag_warning' into release-3.19Brad King2020-10-271-4/+11
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2b0d3c3524 CUDA: Use MSVC version to determine supported C++ standard levels Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5423
| * | | | FindRuby: Restore compatibility variable RUBY_VENDORLIB_DIRBrad King2020-10-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit e672db628b (FindRuby: Rename variables to match case of module name, 2020-03-11, v3.18.0-rc1~546^2), the result variables named with the old `RUBY_` prefix are provided by compatibility code that maps from the new `Ruby_` prefix variables. This variable was accidentally left out. Fixes: #21369
| * | | | Merge topic 'cxx-as-objcxx' into release-3.18Brad King2020-09-302-2/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8a2977ba55 OBJCXX: Fix regression for compiling cpp files as objcxx Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5296
| * \ \ \ \ Merge topic 'cuda-11.1-sm86' into release-3.18Brad King2020-09-301-3/+13
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5f6b0ba8b1 FindCUDA/select_compute_arch: Add CUDA 11.1 and SM86 support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5292
* | \ \ \ \ \ Merge topic 'correct_msvc_cuda_flag_warning'Brad King2020-10-271-4/+11
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2b0d3c3524 CUDA: Use MSVC version to determine supported C++ standard levels Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5423
| * | | | | | CUDA: Use MSVC version to determine supported C++ standard levelsRobert Maynard2020-10-261-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #21335
* | | | | | | Merge topic 'check-module-name-conflicts'Brad King2020-10-2721-354/+380
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | / | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | d192918586 Modules: Do not implicitly add new functions via old Check Modules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5424
| * | | | | Modules: Do not implicitly add new functions via old Check ModulesRobert Maynard2020-10-2621-354/+380
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The conversion of Check<Lang>CompilerFlag, SourceCompiles, and SourceRuns over to the new functions has the possibility of breaking projects that had functions with those existing names. To reduce the possibility of collisions we now have all the legacy code call functions that start with `cmake_`, and users will need to explicitly include the new modules to get the non-prefixed versions Fixes: #21359
| * | | | | Merge topic 'FindBoost-config-mode' into release-3.19Brad King2020-10-261-1/+12
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4b2a61946f FindBoost: Honor BOOST_ROOT when finding upstream BoostConfig b32cb33275 FindBoost: Honor Boost_NO_SYSTEM_PATHS when finding upstream BoostConfig Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5408
* | \ \ \ \ \ Merge topic 'ExternalData-suppress-progress'Brad King2020-10-261-2/+38
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ae7c81c622 ExternalData: add support for suppressing progress during the build Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5413
| * | | | | | | ExternalData: add support for suppressing progress during the buildBen Boeckel2020-10-231-2/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During CI builds (at least), download progress is just noise. Allow it to be suppressed. Default to `OFF` for Ninja due to the tool's behavior of not showing output until a command is complete (which makes any progress reporting of little use) and `ON` otherwise.
* | | | | | | | Merge topic 'android-find_path'Brad King2020-10-261-0/+74
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a7f41a7ee4 Android: Fix find_* search order within NDK for unified toolchains 5cdf37e4cc Android: Root searches within the NDK for unified toolchains Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5357
| * | | | | | | | Android: Fix find_* search order within NDK for unified toolchainsHaibo Huang2020-10-231-0/+36
| | | | | | | | |
| * | | | | | | | Android: Root searches within the NDK for unified toolchainsHaibo Huang2020-10-231-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set `CMAKE_FIND_ROOT_PATH_MODE_*` appropriately.
* | | | | | | | | Merge topic 'FindBoost-config-mode'Brad King2020-10-261-1/+12
|\ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4b2a61946f FindBoost: Honor BOOST_ROOT when finding upstream BoostConfig b32cb33275 FindBoost: Honor Boost_NO_SYSTEM_PATHS when finding upstream BoostConfig Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5408
| * | | | | | | | FindBoost: Honor BOOST_ROOT when finding upstream BoostConfigBrad King2020-10-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #21200
| * | | | | | | | FindBoost: Honor Boost_NO_SYSTEM_PATHS when finding upstream BoostConfigBrad King2020-10-221-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #21200
* | | | | | | | | Merge topic 'docs-cleanup-3.19'Craig Scott2020-10-263-12/+9
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | / / / / / | | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | 95c14579f2 Help: Cleanup typos and grammar for the 3.19 release Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5419
| * | | | | | | Help: Cleanup typos and grammar for the 3.19 releaseCraig Scott2020-10-243-12/+9
| |/ / / / / /
| * | | | | | Merge topic 'FindPython-support-version-3.10' into release-3.19Brad King2020-10-191-1/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 23cd98a66a FindPython: Add support of version 3.10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5383
| * \ \ \ \ \ \ Merge topic 'CheckSource-Fortran' into release-3.19Brad King2020-10-164-9/+19
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c4c636cef5 Tests: Add cases for CheckSource{Compiles,Runs} bad arguments 1e519df025 CheckSource{Runs,Compiles}: Fix default Fortran source extension Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5378
* | \ \ \ \ \ \ \ Merge topic 'ctest-hostname-cleanup'Brad King2020-10-231-1/+8
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 11d21c1c4e CTest: Avoid invoking external tool to get the host name 3f3762856f Tests: Add case verifying CTest module SITE variable 94c6295db1 Help: Document site_name command use of HOSTNAME variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5407
| * | | | | | | | | CTest: Avoid invoking external tool to get the host nameBrad King2020-10-221-1/+8
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Populate the SITE cache entry using an internal query instead.
* | | | | | | | | FindGTest: Added support for CONFIG modeMario Emmenlauer2020-10-221-15/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream GTest provides its own CMake package files. Use them if available. Fixes: #18801
* | | | | | | | | FindGTest: Minor whitespace change, moved an include upwardsMario Emmenlauer2020-10-221-1/+2
| | | | | | | | |
* | | | | | | | | FindGTest: Ensure target names follow upstream GTestMario Emmenlauer2020-10-221-23/+32
|/ / / / / / / /
* | | | | | | | Merge topic 'nsis-utf-8-bom'Brad King2020-10-201-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c92b96234a CPack/NSIS: Template file in UTF-8 BOM to support Unicode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5392
| * | | | | | | | CPack/NSIS: Template file in UTF-8 BOM to support UnicodeJohnny Jazeix2020-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #21318
* | | | | | | | | Merge topic 'checklanguage-honor-toolchain'Brad King2020-10-191-0/+6
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bddc54a37d CheckLanguage: Pass CMAKE_TOOLCHAIN_FILE to test project Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5384
| * | | | | | | | | CheckLanguage: Pass CMAKE_TOOLCHAIN_FILE to test projectSamir Benmendil2020-10-161-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20545
* | | | | | | | | | Merge topic 'FindPython-support-version-3.10'Brad King2020-10-191-1/+1
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | | | / / / / / | | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | 23cd98a66a FindPython: Add support of version 3.10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5383
| * | | | | | | | FindPython: Add support of version 3.10Marc Chevrier2020-10-161-1/+1
| | |_|_|/ / / / | |/| | | | | |