summaryrefslogtreecommitdiff
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* FPHSA: detect package name mismatchesBen Boeckel2020-01-141-3/+53
| | | | | | | The `FPHSA_NAME_MISMATCHED` variable may be set if this is intentional (but should be cleared after the call to not affect other FPHSA calls). It may also be passed via the `NAME_MISMATCHED` option for new-signature FPHSA calls.
* Merge topic 'FindMatlab-r2019'Brad King2020-01-141-0/+2
|\ | | | | | | | | | | | | edb6fe3b6a FindMatlab: add R2019a and R2019b MATLAB_VERSIONS_MAPPING Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4207
| * FindMatlab: add R2019a and R2019b MATLAB_VERSIONS_MAPPINGSilvio Traversaro2020-01-131-0/+2
| | | | | | | | | | | | Reference for versions: https://www.mathworks.com/products/compiler/matlab-runtime.html Fixes: #20087
* | Merge topic 'FindMatlab-only-CXX'Brad King2020-01-141-4/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | b704d58f41 FindMatlab: in matlab_add_mex use the correct version file Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Patrik Huber <patrikhuber@gmail.com> Merge-request: !4206
| * | FindMatlab: in matlab_add_mex use the correct version fileSilvio Traversaro2020-01-131-4/+13
| |/ | | | | | | | | | | | | | | | | | | | | Before this modification, the c_mexapi_version.c file was added to all mex libraries. However, if the C language was not enabled in the CMake project configuration, the c_mexapi_version.c file was ignored, creating linking errors in Windows and macOS. This commit ensures that in the case only the CXX languages is enabled, the correct version is passed. Fixes: #19382
* | Merge topic 'vs_populate_CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES'Brad King2020-01-142-27/+27
|\ \ | | | | | | | | | | | | | | | | | | ef4a66d694 CUDA: MSVC generators fill CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4179
| * | CUDA: MSVC generators fill CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIESRobert Maynard2020-01-102-27/+27
| | | | | | | | | | | | | | | | | | Fixes #18733 Correct an oversight where the MSVC generators didn't populate CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES.
* | | Merge topic 'findmpi-preserve-include-order'Brad King2020-01-131-28/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 5861c6d450 FindMPI: Preserve include order when extracting component directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4153
| * | | FindMPI: Preserve include order when extracting component directoriesChuck Atkins2020-01-101-28/+8
| | | | | | | | | | | | | | | | Fixes: #20098
* | | | Merge topic 'fix-cpack-deb-description-file'Brad King2020-01-132-3/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d491f34a5e CPack: Fix regression in DEB generator description Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4204
| * | | | CPack: Fix regression in DEB generator descriptionKyle Edwards2020-01-102-3/+12
| | | | | | | | | | | | | | | | | | | | Fixes: #20102
| * | | | Merge topic 'GNUtoMS-vs2019' into release-3.16Brad King2020-01-101-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 08c5b3eff0 GNUtoMS: Add search path for VS 2019 environment scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4197
* | \ \ \ \ Merge topic 'objc-visibility-inlines'Brad King2020-01-133-7/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7347e2f830 ObjC: Add VISIBLITY_INLINES_HIDDEN support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4199
| * | | | | | ObjC: Add VISIBLITY_INLINES_HIDDEN supportCristian Adam2020-01-103-7/+5
| |/ / / / / | | | | | | | | | | | | | | | | | | Fixes: #20193
* | | | | | Merge topic 'macOS-Xcode-11-frameworks'Brad King2020-01-132-0/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fcde42751a FindPython: ensure new Xcode framework for Python3 is detected dd7b741b81 macOS: Add support for new Xcode 11 frameworks directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4198
| * | | | | | FindPython: ensure new Xcode framework for Python3 is detectedMarc Chevrier2020-01-101-0/+3
| | | | | | |
| * | | | | | macOS: Add support for new Xcode 11 frameworks directoryMarc Chevrier2020-01-101-0/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | Update CMAKE_SYSTEM_FRAMEWORK_PATH with new Xcode 11 frameworks directory
* | | | | | Merge topic 'nvcc-options-version'Brad King2020-01-101-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7560c68f2c CUDA: Fix compiler option version checks for nvcc 10.2.19 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robert.maynard@kitware.com> Merge-request: !4161
| * | | | | | CUDA: Fix compiler option version checks for nvcc 10.2.19Raul Tambre2020-01-031-2/+2
| | | | | | |
* | | | | | | Merge topic 'cpack_nsis_avoid_delay'Brad King2020-01-101-9/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9d2816544e CPack/NSIS: Also preload the "UserInfo.dll" plugin 13567bd186 CPack/NSIS: Avoid "setup loading" screen by fixing template order Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4171
| * | | | | | | CPack/NSIS: Also preload the "UserInfo.dll" pluginPatrick Storz2020-01-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is currently used to provide UserInfo::GetName and UserInfo::GetAccountType functions.
| * | | | | | | CPack/NSIS: Avoid "setup loading" screen by fixing template orderPatrick Storz2020-01-041-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NSIS packages files (including those required by the installer itslef) in the order in which they're mentioned in the .nsi file. If solid compression is used, the installer might need to extract large parts of the archive to be able to even start the setup program ("Please wait while setup is loading..."). Avoid this by moving component installation towards the end of the template file.
* | | | | | | | Merge topic 'GNUtoMS-vs2019'Brad King2020-01-101-1/+1
|\ \ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 08c5b3eff0 GNUtoMS: Add search path for VS 2019 environment scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4197
| * | | | | | | GNUtoMS: Add search path for VS 2019 environment scriptsBrad King2020-01-091-1/+1
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the logic from commit abe8a623d9 (GNUtoMS: Add search path for VS 2017 environment scripts, 2017-05-19, v3.8.2~1^2) to consider VS 2019 paths too. Fixes: #20162
* | | | | | | Merge topic 'objc-compiler-launcher'Brad King2020-01-102-0/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f6ef6e5a73 Merge branch 'backport-3.16-objc-compiler-launcher' 1a9f6bad98 ObjC: Add _COMPILE_LAUNCHER support a05b9d4239 ObjC: Add _COMPILE_LAUNCHER support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4189
| * | | | | | | ObjC: Add _COMPILE_LAUNCHER supportCristian Adam2020-01-092-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20178
* | | | | | | | Merge topic 'findopenssl-dependencies-link-order'Brad King2020-01-101-7/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 90973c4abd FindOpenSSL: Fix ordering of dependency link flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4173
| * | | | | | | | FindOpenSSL: Fix ordering of dependency link flagsAshley Whetter2019-12-311-7/+5
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Fixes: #20082
* | | | | | | | FindPython: Add variable Python_SOABIMarc Chevrier2020-01-093-6/+58
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This variable holds the standard extension suffix for modules. Fixes: #20150
* | | | | | | Merge topic 'fix-check-compiler-flag-gcc-9'Marc Chevrier2020-01-091-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b10e493ac check_LANG_compiler_flag: add the "deprecated switch" message for GCC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4165
| * | | | | | | check_LANG_compiler_flag: add the "deprecated switch" message for GCCAlessandro Menti2019-12-301-0/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the "deprecated switch" message for GCC to CMakeCheckCompilerFlagCommonPatterns.cmake.
* | | | | | | FindLibXml2: ensure consistent paths, version and flag informationSylvain Joubert2020-01-071-5/+14
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As pkg-config is used as hint to perform the actual lookup of libraries and include paths we may not find the pkg-config installation. Mainly this makes sure the pkg-config information are used only if the actual installation reported to the user is the one from pkg-config. Fixes: #20149
* | | | | | FindLibXml2: provide imported target LibXml2::xmllintSylvain Joubert2019-12-311-2/+11
|/ / / / /
* | | | | Merge topic 'implib'Kyle Edwards2019-12-262-4/+1
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | 576c2e7a2d Swift: move windows handling into platform file (NFC) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4156
| * | | | Swift: move windows handling into platform file (NFC)Saleem Abdulrasool2019-12-212-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves the definition of the import library flags for Windows into a platform specific file (much like the Darwin `-sdk` flag). This is in preparation for re-use of the flag to make the flags handling for executables more precise.
* | | | | Merge topic 'findpython_conda_support'Marc Chevrier2019-12-234-25/+25
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | 776d27d4a4 FindPython: Extend virtual environment handling by considering conda Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4155
| * | | | FindPython: Extend virtual environment handling by considering condaSebastian Müller2019-12-214-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add functionality to recognize and use CONDA_PREFIX environment variable - Add tests for conda virtual environments - Fixes: #20111
* | | | | Merge topic 'FindPython-Fix-target-properties'Kyle Edwards2019-12-201-1/+1
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| | | | | | | | | | | | | | fe280e0cda FindPython*: Fix erroneous target properties setting Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !4154
| * | | FindPython*: Fix erroneous target properties settingMarc Chevrier2019-12-191-1/+1
| |/ / | | | | | | | | | | | | Property IMPORTED_CONFIGURATIONS for targets Python*::Python and Python*::Module is not correctly set.
| * | Merge topic 'FindLAPACK-in-blas' into release-3.16Brad King2019-12-181-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 930f204b68 FindLAPACK: Fix support for LAPACK symbols inside BLAS libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4144
| * \ \ Merge topic 'FindBoost-1.72' into release-3.16Brad King2019-12-181-3/+17
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e51232b739 FindBoost: Add support for Boost 1.72 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4143
| * \ \ \ Merge topic 'FindBLAS-OpenBLAS-thread' into release-3.16Brad King2019-12-131-2/+6
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d1e111d166 FindBLAS: Consider OpenBLAS with thread libraries only with C or CXX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4134
* | \ \ \ \ Merge topic 'FindLAPACK-in-blas'Brad King2019-12-181-1/+1
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 930f204b68 FindLAPACK: Fix support for LAPACK symbols inside BLAS libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4144
| * | | | | FindLAPACK: Fix support for LAPACK symbols inside BLAS librariesBrad King2019-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the condition added by commit 68dcbeee01 (FindLAPACK: Test for implicitly linked LAPACK libraries, 2019-06-11, v3.16.0-rc1~560^2) to use BLAS libraries if they are sufficient with no dedicated LAPACK libraries. Fixes: #20099
* | | | | | Merge topic 'FindBoost-1.72'Brad King2019-12-181-3/+17
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | e51232b739 FindBoost: Add support for Boost 1.72 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4143
| * | | | | FindBoost: Add support for Boost 1.72Brad King2019-12-171-3/+17
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run `Utilities/Scripts/BoostScanDeps.cmake` with the Boost 1.72.0 sources to compute dependencies. Fixes: #20100
* | | | | Merge topic 'FindCUDAToolkit-module'Brad King2019-12-173-3/+806
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d484a3c4d8 FindCUDAToolkit: correct searches for Toolkit components e2a5d8374f FindCUDAToolkit: Improve usage, library set, and tests 29560bf07b FindCUDAToolkit: Import targets for toolkit libraries 2c0ff263b4 FindCUDAToolkit: Add module to find the CUDA Toolkit 12d324e55d CUDA: Persist SIZEOF_VOID_P and PLATFORM_ABI Acked-by: Kitware Robot <kwrobot@kitware.com> Rejected-by: Brad King <brad.king@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !4093
| * | | | | FindCUDAToolkit: correct searches for Toolkit componentsRobert Maynard2019-12-161-38/+61
| | | | | |
| * | | | | FindCUDAToolkit: Improve usage, library set, and testsRobert Maynard2019-12-162-69/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refined the initial design of FindCUDAToolkit and improve it by adding more library support, more toolkit information and tests.
| * | | | | FindCUDAToolkit: Import targets for toolkit librariesStephen McDowell2019-12-161-44/+345
| | | | | |