summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'findwxwidgets-mingw-regression'Brad King2022-07-071-20/+13
|\ | | | | | | | | | | | | | | 7d6e01801d FindwxWidgets: Do not reset wxWidgets_LIB_DIR unnecessarily 6dce42b171 FindwxWidgets: Restore win32 find style on MinGW Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7451
| * FindwxWidgets: Do not reset wxWidgets_LIB_DIR unnecessarilyMaarten Bent2022-07-061-2/+4
| | | | | | | | | | | | Only reset it when `WX_ROOT_DIR` had a value. This change allows to set both `wxWidgets_LIB_DIR` and `wxWidgets_ROOT_DIR` at the same time when they where previously `-NOTFOUND`.
| * FindwxWidgets: Restore win32 find style on MinGWMaarten Bent2022-07-061-18/+9
| | | | | | | | | | | | | | | | | | | | Since commit 6fac8af9ca (FindwxWidgets: set wxWidgets_FIND_STYLE to unix on MINGW, 2022-04-11, v3.24.0-rc1~296^2), we only tried unix find style on MinGW. However, only some MinGW builds have the `wx-config` needed for unix find style. Other builds, including those using the official wxWidgets makefiles, do not provide `wx-config` and need to use win32 find style. To accommodate both use cases, first use win32 find style and if it fails, use unix find style.
| * FindwxWidgets: Support more wxWidgets versions, including 3.2Maarten Bent2022-07-051-40/+18
| | | | | | | | | | | | Update the example to use a more recent wxWidgets version. Use a list with known version numbers when searching for installation directories and wx-config names.
| * FindwxWidgets: Use version number from header for library namesMaarten Bent2022-07-051-35/+12
| |
| * FindwxWidgets: Move extracting version number to a macroMaarten Bent2022-07-051-20/+24
| |
| * Merge topic 'nvhpc-Werror' into release-3.24Brad King2022-07-051-1/+1
| |\ | | | | | | | | | | | | | | | | | | 35ec676ace NVHPC: warnings as error flag is "-Werror" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7415
| * \ Merge topic 'add_nvcc_compile_warning_support' into release-3.24Brad King2022-07-051-0/+5
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd324110d2 CUDA: NVCC support for COMPILE_WARNING_AS_ERROR target property 2e9ac1d272 Tests: Refactor warn on error tests to support multiple languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7417
* | \ \ Merge topic 'FindLAPACK-nvhpc'Brad King2022-07-071-2/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 28d52a43fc FindLAPACK: Add '-fortranlibs' flag only with NVHPC/PGI compilers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7452
| * | | | FindLAPACK: Add '-fortranlibs' flag only with NVHPC/PGI compilersEisuke Kawashima2022-07-061-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 2c9e623e31 (Find{BLAS,LAPACK}: Add support for the NVHPC LAPACK library, 2021-05-05, v3.21.0-rc1~192^2) we try the `-fortranlibs` option as a dependency of the NVHPC LAPACK. That flag is specific to the NVHPC/PGI compilers, so use it conditionally with them. Without this modification, CMake fails to find LAPACK if - compiler ID is GNU - `BLA_STATIC` is `ON` - `BLA_VENDOR` is not defined or set to `All` Fixes: #23705, #22878
* | | | | Merge topic 'FindOpenSSL-doc-pkg-config'Brad King2022-07-061-5/+17
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42199256af FindOpenSSL: Document use of pkg-config 475880f39b FindOpenSSL: Reformat hints documentation as definition list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7441
| * | | | | FindOpenSSL: Document use of pkg-configtofraa2022-07-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Issue: #17548
| * | | | | FindOpenSSL: Reformat hints documentation as definition listBrad King2022-07-051-5/+12
| | | | | |
* | | | | | Merge topic 'lcc-additional-implicit-link-dirs'Brad King2022-07-061-0/+17
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0eea1e8563 LCC: for OpenMP, collectly determine implicit link dirs Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7436
| * | | | | | LCC: for OpenMP, collectly determine implicit link dirsmakise-homura2022-06-301-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is found out for LCC to not specify all library search paths when called by cmake_parse_implicit_link_info(). Because of that, FindOpenMP module can't find some libraries, like libpthread. For this, we should analyze -print-search-dirs output and append library paths to implicit link ones.
* | | | | | | Merge topic 'nvhpc-Werror'Brad King2022-07-051-1/+1
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 35ec676ace NVHPC: warnings as error flag is "-Werror" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7415
| * | | | | | NVHPC: warnings as error flag is "-Werror"Robert Maynard2022-07-011-1/+1
| | |_|_|_|/ | |/| | | |
* | | | | | Merge topic 'add_nvcc_compile_warning_support'Brad King2022-07-051-0/+5
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd324110d2 CUDA: NVCC support for COMPILE_WARNING_AS_ERROR target property 2e9ac1d272 Tests: Refactor warn on error tests to support multiple languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7417
| * | | | | CUDA: NVCC support for COMPILE_WARNING_AS_ERROR target propertyRobert Maynard2022-07-011-0/+5
| | | | | |
* | | | | | Merge topic 'LINK_LIBRARY-Darwin-LIBRARY-features-enhancements'Craig Scott2022-07-051-6/+6
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | 537861664a Genex LINK_LIBRARY: MacOS: enhance *_LIBRARY features c55d42eb42 Darwin.cmake: Fix indenting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7433
| * | | | Genex LINK_LIBRARY: MacOS: enhance *_LIBRARY featuresMarc Chevrier2022-07-031-3/+3
| | | | |
| * | | | Darwin.cmake: Fix indentingCraig Scott2022-07-031-3/+3
| | | | |
* | | | | Merge topic 'findicu'Brad King2022-07-011-7/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 669b6a37f5 FindICU: Fix component reporting logic Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7430
| * | | | | FindICU: Fix component reporting logicAlexander Grund2022-06-301-7/+5
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | Components were incorrectly reported as found because `component_found` is set to a string containing the variable name which is a truethy value. Fix by simply merging the setter of `component_found` with the reporting setter instead of checking `component_found OR component_found_compat` which is overly verbose anyway.
* | | | | Merge topic 'FindRuby-version-matching'Brad King2022-07-011-46/+7
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | abe8192d82 FindRuby: Simplify version matching Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7425
| * | | | FindRuby: Simplify version matchingDiego Pino Garcia2022-06-301-46/+7
| | | | |
* | | | | Merge topic 'FindCURL-package-version'Brad King2022-06-301-0/+2
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 886ba0b1d6 FindCURL: Set CURL_VERSION_STRING when curl is found as a package Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7421
| * | | | FindCURL: Set CURL_VERSION_STRING when curl is found as a packagemakise-homura2022-06-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FindCURL, when found as `curl-config.cmake`, will fill `CURL_VERSION` instead of `CURL_VERSION_STRING` variable. It may break some cases when user is relying on correct value of the latter variable, and as an example, already breaks `CMakeOnly.AllFindModules` test.
* | | | | Merge topic 'FetchContent-avoid-IN_LIST'Brad King2022-06-291-2/+8
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | 5c7b6b29f9 FetchContent: Don't use if(... IN_LIST ...) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7423
| * | | FetchContent: Don't use if(... IN_LIST ...)Craig Scott2022-06-281-2/+8
| | | | | | | | | | | | | | | | This avoids the need for changing policy settings, which would then propagate through to projects brought into the build via FetchContent.
| * | | Merge topic 'FindPython-multiple-queries' into release-3.24Brad King2022-06-281-2/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ece3bedbf2 FindPython: fix error on multiple queries with different COMPONENTS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7410
| * \ \ \ Merge topic 'revert-FindHDF5-library' into release-3.24Brad King2022-06-281-4/+4
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b5bc72574e FindHDF5: Revert "Add explicit library location instead of guessed ..." Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7416
| * \ \ \ \ Merge topic 'lcc-liblfortran-renamed' into release-3.24Brad King2022-06-281-1/+5
| |\ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 57da7a4925 LCC: link with -lgfortran instead of -llfortran since 1.26.03 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7407
* | | | | | Merge topic 'glew'Brad King2022-06-281-2/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6c8789af75 FindGLEW: select_library_configuration might be used before it is defined Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7412
| * | | | | | FindGLEW: select_library_configuration might be used before it is definedMarkus Mützel2022-06-261-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a regression from a31b27078595fce911b2469937ac12934555644a
* | | | | | | Merge topic 'FindPython-multiple-queries'Brad King2022-06-281-2/+4
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ece3bedbf2 FindPython: fix error on multiple queries with different COMPONENTS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7410
| * | | | | | FindPython: fix error on multiple queries with different COMPONENTSMarc Chevrier2022-06-271-2/+4
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | Ensure that multiple queries with different COMPONENTS specified in different sub-directories are fully supported.
* | | | | | Merge topic 'revert-FindHDF5-library'Brad King2022-06-281-4/+4
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | b5bc72574e FindHDF5: Revert "Add explicit library location instead of guessed ..." Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7416
| * | | | | FindHDF5: Revert "Add explicit library location instead of guessed ..."Brad King2022-06-271-4/+4
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit e4e309f165 (FindHDF5: Add explicit library location instead of guessed library name., 2022-03-22, v3.24.0-rc1~375^2). The old behavior was not a guessed library name, but the name of an imported target that can contain per-config locations and encode usage requirements. Although find modules do not normally return their imported target names in the `_LIBRARIES` variable, FindHDF5 has done so since commit 5201a3065b (FindHDF5: use the target rather than the path, 2017-01-04, v3.8.0-rc1~81^2). Fixes: #23667
| * | | | Merge topic 'ipo_append_auto_on_gcc' into release-3.24Brad King2022-06-231-1/+12
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe57410b33 IPO: Use -flto=auto if compiler is GCC >= 10.1 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7400
* | \ \ \ \ Merge topic 'lcc-liblfortran-renamed'Brad King2022-06-281-1/+5
|\ \ \ \ \ \ | |_|_|/ / / |/| | | / / | | |_|/ / | |/| | | | | | | | | | | | | 57da7a4925 LCC: link with -lgfortran instead of -llfortran since 1.26.03 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7407
| * | | | LCC: link with -lgfortran instead of -llfortran since 1.26.03Igor Molchanov2022-06-271-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since LCC 1.26.03, compiler developers decided to rename liblfortran to libgfortran (internal reference: mcstbug#131633), and despite it's stated that "-llfortran will be automatically treated as -lgfortran", it actually does not work (and there's even no symlinks like liblfortran.* -> libgfortran.*); so we have to explicitly choose which library we have to link in. Fixes: #23646
| * | | | ExternalProject: Fix regression in stamp creation for Xcode+iOSBrad King2022-06-212-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change to `_ep_add_mkdir_command` in commit 5fbac2bb24 (ExternalProject: Move inline scripts to separate files, 2022-01-22, v3.23.0-rc1~101^2) did not account for the possibility that `CMAKE_CFG_INTDIR` is `$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)` instead of just the configuration name. Pass the value into the helper script on the command line so that the native buildsystem placeholders are evaluated. Fixes: #23645
| * | | | Merge branch 'xcode-14' into release-3.23Brad King2022-06-112-1/+4
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | Merge-request: !7350
* | | | | Merge topic 'FindPython-use-VALIDATOR'Brad King2022-06-231-103/+124
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e8e5af0278 FindPython: enhance search criterias Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7401
| * | | | | FindPython: enhance search criteriasMarc Chevrier2022-06-221-103/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use VALIDATOR option of find_* commands to add more criterias to the search: * version * architecture Fixes: #22319
* | | | | | Merge topic 'findvulkan-volk'Brad King2022-06-231-0/+41
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f849e33452 FindVulkan: Add 'volk' component Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7382
| * | | | | | FindVulkan: Add 'volk' componentAiden Lambert2022-06-221-0/+41
| | | | | | |
* | | | | | | Merge topic 'findopenal-add-import-library'Brad King2022-06-231-0/+26
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 91e3f2e088 ci: Enable FindOpenAL test on Linux builds 927e091949 FindOpenAL: Add imported target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7385
| * | | | | | | FindOpenAL: Add imported targetSam V2022-06-221-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20026