summaryrefslogtreecommitdiff
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Android: show supported API level in error messageHaibo Huang2020-10-131-1/+2
|
* Merge topic 'android-verify-abi-in-ndk' into release-3.19Brad King2020-10-131-0/+6
|\ | | | | | | | | | | | | 5c2f9e3eeb Android: Fatal if ABI is not supported by NDK Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5351
| * Android: Fatal if ABI is not supported by NDKHaibo Huang2020-10-091-0/+6
| |
* | FindPython: Ensure Apple Xcode python 3 is usableMarc Chevrier2020-10-124-0/+37
| | | | | | | | | | | | | | The python 3 distributed as part of Xcode requires the specification of a 'rpath' pointing at frameowrks root for a correct execution. Fixes: #21293
* | Merge topic 'GNUInstallDirs-debian' into release-3.19Brad King2020-10-091-2/+13
|\ \ | |/ |/| | | | | | | | | | | 798c1c3192 GNUInstallDirs: Comply with Debian Policy on LIBEXECDIR 75bcd3cf54 Tests: Add RunCMake.GNUInstallDirs expected output specific to Debian Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5349
| * GNUInstallDirs: Comply with Debian Policy on LIBEXECDIRDennis Klein2020-10-081-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | If CMAKE_INSTALL_PREFIX is /usr, CMAKE_INSTALL_LIBEXECDIR shall return the same value as CMAKE_INSTALL_LIBDIR on Debian. While the FHS allows /usr/libexec for internal binaries (https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#usrlibexec) the Debian Policy Manual states an exception here (section 9.1.1 bullet point 4): https://www.debian.org/doc/debian-policy/ch-opersys#file-system-structure. Fixes: #21287
* | FetchContent: Remove unnecessary policy CMP0114 settingBrad King2020-10-081-1/+0
|/ | | | | Now that `CMAKE_VERSION` is at least 3.19, the policy will be set to NEW implicitly by the version.
* Merge topic 'android-ndk-r22'Brad King2020-10-081-61/+98
|\ | | | | | | | | | | | | | | | | 1ab574a0f4 Android: Add support for NDK r22 91a362d2fa Android: Drop redundant setting of CMP0057 in Android-Determine 0b082c5253 Android: Select Android API after ABI is determined Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5332
| * Android: Add support for NDK r22Haibo Huang2020-10-071-24/+64
| | | | | | | | | | NDK r22 removed platforms and sysroot directory. NDK r18+ provides `.cmake` files with tables of platforms and abis.
| * Android: Drop redundant setting of CMP0057 in Android-DetermineHaibo Huang2020-10-071-3/+0
| | | | | | | | | | | | A module-wide setting was added by commit 8ede35523e (IN_LIST: Ensure policy allows if(IN_LIST) if used by a module, 2018-09-12, v3.13.0-rc1~95^2), so our local setting is no longer needed.
| * Android: Select Android API after ABI is determinedHaibo Huang2020-10-071-60/+60
| | | | | | | | API level depends on ABI. E.g. for LP64 the minimum API level should be 21 instead of 16 for others.
* | Merge topic 'check_cuda_helpers'Brad King2020-10-084-0/+12
|\ \ | | | | | | | | | | | | | | | | | | | | | 5c66ac31e6 CUDA: CheckLinkerFlag now supports CUDA da2622ff36 CUDA: Add Support to SourceCompiles|Runs and CheckCompilerFlags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5338
| * | CUDA: CheckLinkerFlag now supports CUDARobert Maynard2020-10-081-0/+2
| | |
| * | CUDA: Add Support to SourceCompiles|Runs and CheckCompilerFlagsRobert Maynard2020-10-083-0/+10
| |/
* | Merge topic 'FindwxWidgets-freebsd'Brad King2020-10-081-1/+9
|\ \ | | | | | | | | | | | | | | | | | | 1fe5abb47f FindwxWidgets: Expand list of names for wx-config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5342
| * | FindwxWidgets: Expand list of names for wx-configAdriaan de Groot2020-10-071-1/+9
| | | | | | | | | | | | | | | | | | This looks for the FreeBSD-packaging names of wx-config as well. Fixes: #19372
* | | Merge topic 'FindJNI-freebsd'Brad King2020-10-081-0/+8
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 79bfa0f75e FindJNI: Search in FreeBSD standard locations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5341
| * | FindJNI: Search in FreeBSD standard locationsAdriaan de Groot2020-10-071-0/+8
| |/
* | Merge topic 'add_ispc_to_check_helpers'Brad King2020-10-072-0/+5
|\ \ | | | | | | | | | | | | | | | | | | e17e2c6a51 ISPC: CheckCompilerFlags and CheckSourceCompiles support ISPC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5337
| * | ISPC: CheckCompilerFlags and CheckSourceCompiles support ISPCRobert Maynard2020-10-062-0/+5
| | |
* | | CheckCompilerFlag: Update the regex used to detect invalid options for GCC 10Luthaf2020-10-061-5/+5
|/ / | | | | | | | | | | | | | | | | The warning emmitted by GCC for invalid options have been updated to read "command-line option XXX is valid ..." instead of "command line option XXX is valid ...". Update the regex to make it valid with both the old and new warning message. Fixes: #21275
* | Merge topic 'boost-1.74.0'Brad King2020-10-061-1/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | 0d86bb0902 FindBoost: Add 1.74 to known versions 1940e24d58 FindBoost: Prevent warning with boost 1.74 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5319
| * | FindBoost: Add 1.74 to known versionsOlivier LIESS2020-10-041-0/+1
| | |
| * | FindBoost: Prevent warning with boost 1.74Olivier LIESS2020-10-041-1/+1
| | |
* | | Merge topic 'cuda_nvcc_abi_werror'Brad King2020-10-051-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 079ea66468 CMakeDetermineCompilerABI: Handle NVCC-style -Werror flags Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Seth R Johnson <johnsonsr@ornl.gov> Merge-request: !5318
| * | CMakeDetermineCompilerABI: Handle NVCC-style -Werror flagsRaul Tambre2020-10-041-1/+1
| | | | | | | | | | | | | | | | | | NVCC doesn't require an equals sign for its -Werror flags. Fixes #21265.
* | | Merge topic 'FetchContent_missing_SOURCE_DIR'Craig Scott2020-10-041-0/+6
|\ \ \ | |/ / |/| | | | | | | | | | | | | | b030a6af88 FetchContent: Raise error if manually given source dir does not exist Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5317
| * | FetchContent: Raise error if manually given source dir does not existCraig Scott2020-10-031-0/+6
| | | | | | | | | Fixes: #21208
* | | FindSWIG: Fix syntax errorMarc Chevrier2020-10-021-1/+6
| |/ |/| | | | | | | | | Add some tests to cover all cases regarding version handling Fixes: #21264
* | Merge topic 'UseSWIG-output-source-file-properties'Brad King2020-10-021-9/+42
|\ \ | |/ |/| | | | | | | | | 4a81a0ce3d UseSWIG: Add OUTPUT_DIR and OUTFILE_DIR source file properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5303
| * UseSWIG: Add OUTPUT_DIR and OUTFILE_DIR source file propertiesMarc Chevrier2020-09-301-9/+42
| | | | | | | | | | | | | | These properties enable to manage output directories on per source file basis. Fixes: #21250
* | Merge topic 'FindSWIG-version-range'Craig Scott2020-10-021-6/+35
|\ \ | | | | | | | | | | | | | | | | | | 1d300ee2a9 FindSWIG: Add version range support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5306
| * | FindSWIG: Add version range supportMarc Chevrier2020-10-011-6/+35
| |/
* | Merge topic 'macos-arm64'Brad King2020-10-012-4/+26
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | b6c60f14b6 macOS: Default to arm64 architecture on Apple Silicon hosts 383e81aa60 Tests: Teach RunCMake to ignore Xcode internal objc warnings 8f75912176 Tests: Enable Assembler test case when CMAKE_OSX_ARCHITECTURES has one value Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5291
| * | macOS: Default to arm64 architecture on Apple Silicon hostsBrad King2020-09-302-4/+26
| | | | | | | | | | | | | | | | | | | | | | | | Detect `arm64` hardware using a method that pierces Rosetta. If `CMAKE_OSX_ARCHITECTURES` is not set, pass explicit flags to the toolchain to use `arm64` instead of letting the toolchain pick. Fixes: #20989
* | | Merge topic 'intel-clang'Brad King2020-10-012-0/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 5c3a93ab88 Intel: Add Intel Clang compiler identification Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5300
| * | | Intel: Add Intel Clang compiler identificationHarini Chilamantula2020-09-292-0/+8
| | | | | | | | | | | | | | | | | | | | The compiler identifies itself with the `__INTEL_CLANG_COMPILER` preprocessor definition.
* | | | FindPython: Add version range supportMarc Chevrier2020-09-304-142/+327
| |_|/ |/| | | | | | | | Fixes: #21107
* | | Merge topic 'find-package-check-empty-version-range'Craig Scott2020-09-301-7/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 212b0afb66 find_package: raise error on empty version range Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5294
| * | | find_package: raise error on empty version rangeMarc Chevrier2020-09-291-7/+3
| |/ /
* | | Merge topic 'cxx-as-objcxx'Brad 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
| * | | OBJCXX: Fix regression for compiling cpp files as objcxxCristian Adam2020-09-292-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 8d61294c3e (PCH: Mark CMake PCH source files as -x <lang>-header, 2020-09-04, v3.18.3~14^2) we removed the explicit `-x objective-c++` flag. This broke cases with custom source extensions. Restore the explicit `-x objective-c[++]` flag and put it before the `<FLAGS>` placeholder. The latter will contain the proper `-x objective-c[++]-header` value and will override the `-x objective-c[++]` value set before. Fixes: #21234
| * | | Merge topic 'FindJNI-aarch64' into release-3.18Brad King2020-09-281-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 696d16ae6c FindJNI: Add aarch64 support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Vitaly Lipatov <lav@etersoft.ru> Merge-request: !5275
| * \ \ \ Merge topic 'clang-llvm-lib' into release-3.18Brad King2020-09-251-1/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f5d3da091b Clang: Look for llvm-lib when using MSVC-like front-end Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Thomas Bernard <thomas@famillebernardgouriou.fr> Merge-request: !5264
* | \ \ \ \ Merge topic 'cuda-11.1-sm86'Brad 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
| * | | | | FindCUDA/select_compute_arch: Add CUDA 11.1 and SM86 supportzasdfg bnm2020-09-291-3/+13
| | | | | |
* | | | | | Merge topic 'add_lang_agnostic_check_compile_flag_module'Brad King2020-09-296-117/+122
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 90dead024c CheckCompilerFlag: unified way to check compiler flags per language Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5281
| * | | | | CheckCompilerFlag: unified way to check compiler flags per languageRobert Maynard2020-09-286-117/+122
| | | | | |
* | | | | | Merge topic 'vs-generator-platform-install-prefix'Brad King2020-09-281-0/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 561d4b4a47 VS: Fix CMAKE_INSTALL_PREFIX with GENERATOR_PLATFORM for x64 and ARM Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5272
| * | | | | | VS: Fix CMAKE_INSTALL_PREFIX with GENERATOR_PLATFORM for x64 and ARMRechi2020-09-251-0/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generate the same default `CMAKE_INSTALL_PREFIX` if a project is configured with CMAKE_GENERATOR_PLATFORM (`cmake -G "Visual Studio [...]" -A x64` and `cmake -G "Visual Studio [...]" -A ARM`) instead of the prior CMake 3.1 way (`cmake -G "Visual Studio [...] Win64"` and `cmake -G "Visual Studio [...] ARM"`).