summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cuda-msvc-runtime-library'Brad King2019-06-271-4/+19
|\ | | | | | | | | | | | | | | 8fbd25772f CUDA: Implement MSVC runtime library abstraction 07807a2006 VS: Use AddLanguageFlags to de-duplicate CMAKE_{CUDA,ASM*}_FLAGS lookup Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3485
| * CUDA: Implement MSVC runtime library abstractionBrad King2019-06-261-4/+19
| | | | | | | | | | | | | | | | | | In commit fb3370b6a1 (MSVC: Add abstraction for runtime library selection, 2019-04-10, v3.15.0-rc1~229^2) we overlooked updating flags for CUDA on Windows, where nvcc uses MSVC as the host compiler. Add them now and update the MSVCRuntimeLibrary test to cover CUDA. Fixes: #19428
* | Merge topic 'findmpi_use_interface_link_options'Brad King2019-06-261-3/+2
|\ \ | | | | | | | | | | | | | | | | | | 39c572c9c9 FindMPI: Updated to use INTERFACE_LINK_OPTIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3476
| * | FindMPI: Updated to use INTERFACE_LINK_OPTIONSRobert Maynard2019-06-241-3/+2
| |/
| * Merge branch 'android-pie-cmp0083' into release-3.15Brad King2019-06-191-0/+20
| |\ | | | | | | | | | Merge-request: !3459
| * \ Merge branch 'FindMPI-imported-link-flags' into release-3.15Brad King2019-06-191-1/+3
| |\ \ | | | | | | | | | | | | Merge-request: !3449
| * \ \ Merge branch 'FindBoost-component' into release-3.15Brad King2019-06-181-5/+157
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !3438
| * \ \ \ Merge branch 'FindBLAS-OpenBLAS-thread' into release-3.15Brad King2019-06-171-1/+15
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3434
| * \ \ \ \ Merge branch 'CheckCXXSymbolExists-xref' into release-3.15Brad King2019-06-121-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !3437
| * \ \ \ \ \ Merge branch 'cpack-nuget-case' into release-3.15Brad King2019-06-051-1/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3427
* | \ \ \ \ \ \ Merge topic 'FindMatlab/issue-19279-mex-compilation-error-on-attribute'Brad King2019-06-261-3/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c2595a4958 FindMatlab: removing spaces in compiler define Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3473
| * | | | | | | | FindMatlab: removing spaces in compiler defineRaffi Enficiaud2019-06-251-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Spaces in `DLL_EXPORT_SYM=__attribute__ ((visibility (\"default\")))` are causing a compilation error. Fixes: #19279
* | | | | | | | | FindProtobuf: C++11 support is required since version 3.6.0Rolf Eike Beer2019-06-251-0/+5
| | | | | | | | |
* | | | | | | | | Merge topic 'matlab-if'Brad King2019-06-251-25/+25
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 56e89e50d3 FindMatlab: simplify several if()-constructs 51bcdeb17f Tests: simplify checks for Matlab variables being set Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3472
| * | | | | | | | | FindMatlab: simplify several if()-constructsRolf Eike Beer2019-06-241-25/+25
| |/ / / / / / / /
* | | | | | | | | Merge topic 'find_matlab_exact'Brad King2019-06-251-8/+22
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2454fe84f5 FindMatlab: Support EXACT versions Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raffi Enficiaud <raffi.enficiaud@free.fr> Merge-request: !3460
| * | | | | | | | | FindMatlab: Support EXACT versionsStefan Lietzau2019-06-241-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an exact version is requested, don't pick the latest matlab version but the one matching the requested version. Fixes: #19155
* | | | | | | | | | FindPython: add Python_FIND_ABI hint.Marc Chevrier2019-06-243-99/+356
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | This variable will enable to specify will ABIs will be searched.
* | | | | | | | | Merge topic 'BundleUtilities-cleanup'Brad King2019-06-202-42/+23
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d59ebb704 GetPrerequisites: use CMAKE_OBJDUMP if it is set e33f4cb0cb BundleUtilities: use if(... IN_LIST ...) 6695383dd5 BundleUtilities: remove needless variable expansions in if() arguments d5333c0923 BundleUtilities: simplify inclusion of GetPrerequisites Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3447
| * | | | | | | | | GetPrerequisites: use CMAKE_OBJDUMP if it is setRolf Eike Beer2019-06-191-1/+3
| | | | | | | | | |
| * | | | | | | | | BundleUtilities: use if(... IN_LIST ...)Rolf Eike Beer2019-06-191-28/+8
| | | | | | | | | |
| * | | | | | | | | BundleUtilities: remove needless variable expansions in if() argumentsRolf Eike Beer2019-06-171-17/+17
| | | | | | | | | |
| * | | | | | | | | BundleUtilities: simplify inclusion of GetPrerequisitesRolf Eike Beer2019-06-171-2/+1
| | | | | | | | | |
* | | | | | | | | | Merge topic 'android-pie-cmp0083'Brad King2019-06-191-0/+20
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e99a95c7d Android: ensure PIE behavior is consistent regardless CMP0083 policy Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3459
| * | | | | | | | | Android: ensure PIE behavior is consistent regardless CMP0083 policyMarc Chevrier2019-06-191-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit c4b4d8b3a6 (POSITION_INDEPENDENT_CODE: Manage link flags for executables, 2018-10-02, v3.14.0-rc1~395^2) we accidentally removed our Android-specific logic for PIE under the CMP0083 OLD behavior. Restore it and also implement Android-specific logic for CMP0083 NEW behavior. Fixes: #19393
| * | | | | | | | | Merge branch 'FindThreads-doc-c++' into release-3.14Brad King2019-05-281-3/+0
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3391
* | \ \ \ \ \ \ \ \ \ Merge topic 'FindMPI-imported-link-flags'Brad King2019-06-191-1/+3
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7eaa342de FindMPI: Store imported target link flags as a list instead of a string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3449
| * | | | | | | | | | FindMPI: Store imported target link flags as a list instead of a stringRobert Maynard2019-06-191-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already use the `separate_arguments` `NATIVE_COMMAND` mode to parse command-line strings into lists in several other places. Fixes: #18897
* | | | | | | | | | | Merge topic 'FindCUDA-more-libs'Brad King2019-06-191-0/+12
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 421be81413 FindCUDA: Add nvToolsExt and OpenCL libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3456
| * | | | | | | | | | | FindCUDA: Add nvToolsExt and OpenCL librariesEyal Rozenberg2019-06-181-0/+12
| | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Find these libraries with CUDA 5 and above. Fixes: #19386
* | | | | | | | | | | Merge topic 'FindBoost-component'Brad King2019-06-191-5/+157
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / |/| | | | | | | | | / | | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 830b332f32 FindBoost: Add tests for legacy variables 0dd6772a89 FindBoost: Add legacy variables and targets for compatibility e4181eeaf2 FindBoost: Don't overwrite Boost_${_comp}_FOUND 4cb652e1d3 Tests.RunCMake.FindBoost: Fix example BoostConfig 7251d54bd1 Tests.FindBoost: Don't use BoostConfig in MODULE test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3438
| * | | | | | | | | FindBoost: Add legacy variables and targets for compatibilityAlexander Grund2019-06-181-0/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows future BoostConfig to NOT define those and users relying on them use the newer FindBoost of newer CMake versions
| * | | | | | | | | FindBoost: Don't overwrite Boost_${_comp}_FOUNDAlexander Grund2019-06-181-5/+7
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Is set in Boost >= 1.71 so don't overwrite it
* | | | | | | | | Merge topic 'cxx_lambda_init_captures_document_why_not_supported_on_gcc48'Brad King2019-06-181-2/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63bf207cd6 CompileFeatures: document why lambda_init_captures requires GCC 4.9 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3452
| * | | | | | | | | CompileFeatures: document why lambda_init_captures requires GCC 4.9Robert Maynard2019-06-171-2/+2
| | | | | | | | | |
* | | | | | | | | | Merge topic 'implicit_lapack_library'Brad King2019-06-181-5/+17
|\ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 68dcbeee01 FindLAPACK: Test for implicitly linked LAPACK libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3451
| * | | | | | | | | FindLAPACK: Test for implicitly linked LAPACK librariesJakub Benda2019-06-171-5/+17
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply the change from commit 5b8f69ebe9 (FindBLAS: Detect implicitly linked BLAS library, 2018-08-28, v3.13.0-rc1~150^2~2), to FindLAPACK also. Typically both BLAS and LAPACK are provided the same way, e.g. in a Cray Compiler Environment.
* | | | | | | | | Merge topic 'cpack-deb-soname'Brad King2019-06-171-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3092c27f30 CPack: Fix SONAME regex in DEB generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3440
| * | | | | | | | | CPack: Fix SONAME regex in DEB generatorKyle Edwards2019-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The DEB generator was written to parse output from GNU readelf. However, LLVM's readelf has a slightly different output format, without parentheses around the word "SONAME". Update the regex to account for this difference. Fixes: #19362
* | | | | | | | | | Merge topic 'FindBLAS-OpenBLAS-thread'Brad King2019-06-171-1/+15
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | | | | | | | / | | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | 276b56f01c FindBLAS: Add second try for OpenBLAS with thread libraries. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3434
| * | | | | | | | FindBLAS: Add second try for OpenBLAS with thread libraries.Alexander Neumann2019-06-171-1/+15
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Issue: #16221
* | | | | | | | Merge topic 'language-dependent-linker-flags'Brad King2019-06-121-0/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a982916304 Support per-language library link flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3429
| * | | | | | | | Support per-language library link flagsSaleem Abdulrasool2019-06-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the behaviour of the generators to use a per-language library search path flag. This is needed for multi-language projects with different compilers (e.g. cl + gfortran). Since the adjusted variable has been part of the user settings, we control this based on a policy. Fixes: #19307
* | | | | | | | | Merge topic 'CheckCXXSymbolExists-xref'Brad King2019-06-121-1/+1
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | / | | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | f26c3d5c60 CheckCXXSymbolExists: reference to CheckCXXSourceCompiles instead of C version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3437
| * | | | | | | CheckCXXSymbolExists: reference to CheckCXXSourceCompiles instead of C versionRolf Eike Beer2019-06-121-1/+1
| | |/ / / / / | |/| | | | |
* | | | | | | GetPrerequisites: Add deprecation noticeKyle Edwards2019-06-101-0/+4
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | GetPrerequisites has now been superceded by file(GET_RUNTIME_DEPENDENCIES), so add a deprecation notice stating such.
* | | | | | Merge topic 'cpack-nuget-case'Brad King2019-06-061-1/+1
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | 8a4732c60e CPack/NuGet: Find nuget tool on case sensitive file system Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Mathieu Malaterre <mathieu.malaterre@gmail.com> Merge-request: !3427
| * | | | CPack/NuGet: Find nuget tool on case sensitive file systemMathieu Malaterre2019-06-051-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | There is no need to use a CamelCase executable name since it will be handled gracefully on Windows anyway. This change allow support for Linux system, in particular Debian distribution where the binary is called `nuget`.
* | | | Help: Trivial typo and grammar fixes for FindEnvModulesCraig Scott2019-06-051-3/+3
|/ / /
* | | GetPrerequisites: fix regression in gp_append_uniqueBen Boeckel2019-06-041-1/+1
| | | | | | | | | | | | | | | | | | The `item` variable was the loop variable in the old code prior to commit 3dfc8b9bd6 (GetPrerequisites: use if(IN_LIST) instead of foreach, 2019-05-09). The function argument `value` should be used instead.