summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'FindPostgreSQL-server-component'Brad King2021-01-181-1/+24
|\ | | | | | | | | | | | | | | 8b066f1a65 FindPostgreSQL: Add server component Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !5680
| * FindPostgreSQL: Add server componentAlexey Edelev2021-01-151-1/+24
| | | | | | | | | | | | | | Require the server-specific artifacts only if the Server component is requested. Issue: #17223
* | Merge topic 'irsl-msvcp_atomic_wait_dll'Brad King2021-01-181-0/+2
|\ \ | | | | | | | | | | | | | | | | | | 6718caaa2f IRSL: Install msvcp${v}${d}_atomic_wait.dll if available with CRT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5702
| * | IRSL: Install msvcp${v}${d}_atomic_wait.dll if available with CRTKelly Walker2021-01-151-0/+2
| | | | | | | | | | | | | | | | | | | | | VS now distributes these additional runtime libraries. Install them if available. Fixes: #21675
| * | Merge topic 'FindHDF5-dbg-and-rel' into release-3.19Brad King2021-01-061-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 5267ba9d63 FindHDF5: Fix finding both debug and release libs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5653
* | \ \ Merge topic 'FindLAPACK-pkgconfig'Brad King2021-01-151-16/+42
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d21ad02d44 FindLAPACK: Add pkgconfig support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5696
| * | | | FindLAPACK: Add pkgconfig supportFlorent Pruvost2021-01-141-16/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - mimic FindBLAS Fixes: #21700
* | | | | Merge topic 'FindHDF5-no-dedup-keywords'Brad King2021-01-151-28/+6
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | a5fe1712b2 FindHDF5: Remove unnecessary de-duplication of HDF5_LIBRARIES and friends dadb13f546 FindHDF5: Simplify preprocessor setting de-duplication Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5692
| * | | | FindHDF5: Remove unnecessary de-duplication of HDF5_LIBRARIES and friendsKris Thielemans2021-01-121-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * When both debug and optimized libraries are found, the corresponding keywords were getting de-duplicated and breaking. * CMake's link line generation de-duplicates in many cases anyway. * Other find modules do not explicitly de-duplicate in general. Fixes: #21670
| * | | | FindHDF5: Simplify preprocessor setting de-duplicationBrad King2021-01-121-6/+6
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Use `list(REMOVE_DUPLICATES)` directly. For definitions the order doesn't matter. For include directories it is better to remove late duplicates than early duplicates.
* | | | Merge topic 'ExternalProject-configure-handled-by-build'Brad King2021-01-131-12/+44
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7155e358c9 ExternalProject: Add CONFIGURE_HANDLED_BY_BUILD option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5626
| * | | | ExternalProject: Add CONFIGURE_HANDLED_BY_BUILD optionDaan De Meyer2021-01-121-12/+44
| | | | | | | | | | | | | | | | | | | | Fixes #21592.
* | | | | Merge topic 'detect_corresponding_binutils_version'Brad King2021-01-134-51/+61
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b12aec6c8d BinUtils: prefer bin utils matching the compiler version extension Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5606
| * | | | | BinUtils: prefer bin utils matching the compiler version extensionThomas Bernard2021-01-114-51/+61
| | |/ / / | |/| | |
* | | | | Merge topic 'FindHDF5docfix'Brad King2021-01-121-9/+31
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eec3b775a7 FindHDF5: List imported targets in debug output 186b0f8131 FindHDF5: correct and describe list of imported target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5684
| * | | | | FindHDF5: List imported targets in debug outputKris Thielemans2021-01-111-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If HDF5_FIND_DEBUG, list all targets that are defined (from either FindHDF5.cmake or the hdf5-config.cmake).
| * | | | | FindHDF5: correct and describe list of imported targetKris Thielemans2021-01-111-9/+16
| | | | | |
* | | | | | Merge topic 'FindJPEG-turbo'Brad King2021-01-121-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 74cc2e3326 FindJPEG: Search for 'turbojpeg' and 'turbojpeg-static' too Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5683
| * | | | | | FindJPEG: Search for 'turbojpeg' and 'turbojpeg-static' tooMiguel Medalha2021-01-111-1/+1
| |/ / / / /
* | | | | | Merge topic 'cuda-nvcc-ccache-symlink'Brad King2021-01-123-3/+41
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb2afef620 CUDA: Support nvcc symlinking to ccache Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Tested-by: Raul Tambre <raul@tambre.ee> Merge-request: !5620
| * | | | | CUDA: Support nvcc symlinking to ccacheRong Ou2021-01-113-3/+41
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Invoke `nvcc -v` to find the real CUDA bin directory. This is needed if `nvcc` is a symlink to `ccache` or `colornvcc`. Fixes: #21177
* | | | | Merge topic 'FindPostgreSQL-server-not-required'Brad King2021-01-111-4/+7
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | f254e67bf6 FindPostgreSQL: Do not require pg_type.h Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5656
| * | | | FindPostgreSQL: Do not require pg_type.hAlexey Edelev2021-01-041-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In systems where PostgreSQL has separate developer packages for server and client libraries `PostgreSQL_TYPE_INCLUDE_DIR` is not specified. According to initial logic server part was not required but was accidentally added to `REQUIRED_VARS` during the migration to `find_package_handle_standard_args`. Fixes: #17223
* | | | | Merge topic 'cpp-modules'Brad King2021-01-071-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 39cbbb59a5 ninja: add experimental infrastructure to generate gcc-format modmap files 791b4d26d6 ninja: add experimental infrastructure to generate modmap files with dyndep 4b23359117 ninja: Add experimental infrastructure for C++20 module dependency scanning f814d3b3c6 cmNinjaTargetGenerator: use $OBJ_FILE for the object b0fc2993e1 Treat the '.mpp' file extension as C++ code 988f997100 cmScanDepFormat: Fix name of our internal tool in parse errors dacd93a2db ninja: De-duplicate version numbers required for ninja features 533386ca29 cmStandardLevelResolver: Factor out helper to capture stoi exceptions Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Robert Maynard <robert.maynard@kitware.com> Acked-by: Shannon Booth <shannon.ml.booth@gmail.com> Merge-request: !5562
| * | | | | Treat the '.mpp' file extension as C++ codeBen Boeckel2021-01-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This is the extension required in build2 for C++ module support.
* | | | | | Merge topic 'FindHDF5-dbg-and-rel'Brad King2021-01-061-1/+1
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 5267ba9d63 FindHDF5: Fix finding both debug and release libs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5653
| * | | | | FindHDF5: Fix finding both debug and release libsKris Thielemans2021-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use `target_link_libraries` to set `INTERFACE_LINK_LIBRARIES` so that the `debug` and `optimized` keywords work. In commit a8e0a6b3e4 (FindHDF5: Port changes from VTK, 2020-06-10, v3.19.0-rc1~312^2~1) we added use of `HDF5_LIBRARIES`, but the value may contain `debug` and `optimized` keywords. Fixes: #21637
* | | | | | Merge topic 'FindMPI-oneapi-single-quotes'Brad King2021-01-051-0/+1
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | a5b223aa7f FindMPI: remove single quotes from include path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5654
| * | | | | FindMPI: remove single quotes from include pathEduard Valeyev2021-01-041-0/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Intel OneAPI's MPI wraps include paths into single quotes, remove them when sanitizing _MPI_INCLUDE_PATH Fixes: #21634
* | | | | Merge topic 'java-export-native_headers'Brad King2021-01-051-4/+51
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | 53235626a2 UseJava: enable exportation of native headers target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5658
| * | | | UseJava: enable exportation of native headers targetMarc Chevrier2020-12-291-4/+51
| | |/ / | |/| |
* | | | Merge topic 'clang_win32_subsystem'Brad King2021-01-041-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | acfb54bb2f Clang: Support WIN32_EXECUTABLE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5648
| * | | | Clang: Support WIN32_EXECUTABLERaul Tambre2020-12-231-0/+3
| | | | | | | | | | | | | | | | | | | | Fixes #21613.
* | | | | Merge topic 'tests-bump-minver'Brad King2021-01-041-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | 72e7c45e98 Tests: Bump CMake minimum required in tests to 2.8.12 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5644
| * | | | Tests: Bump CMake minimum required in tests to 2.8.12Chuck Atkins2020-12-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 3.19, CMake generates a deprecation warning when using a minimum version less than 2.8.12. This eliminates those warnings generated during tests, which are typically hidden from the user and developer but are being generated nonetheless.
* | | | | Merge topic 'FindGTK2-atkmmconfig'Brad King2020-12-231-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e5e312210 FindGTK2: Find atkmmconfig.h separately from atkmm.h Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5645
| * | | | | FindGTK2: Find atkmmconfig.h separately from atkmm.hJani Välimaa2020-12-221-0/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The former may be installed into libdir instead of includedir. We already do this for several other components. Fixes: #21627
* | | | | Merge topic 'cpack-nuget-linux'Brad King2020-12-231-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | dade75509f CPack/NuGet: Fix nuspec file generation for UNIX-style OS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5640
| * | | | CPack/NuGet: Fix nuspec file generation for UNIX-style OSiorikyu2020-12-221-1/+1
| | | | | | | | | | | | | | | | | | | | Use forward slashes, which should work on both UNIX and Windows.
* | | | | Merge topic 'fc-relative-SOURCE_DIR'Craig Scott2020-12-221-1/+8
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | | | | | | | | 51595e5f01 FetchContent: Relative SOURCE_DIR override cannot be a hard error Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5641
| * | | FetchContent: Relative SOURCE_DIR override cannot be a hard errorCraig Scott2020-12-221-1/+8
| | | | | | | | | | | | Fixes: #21624
| * | | CMakePackageConfigHelpers: Relax restrictions on version rangeMarc Chevrier2020-12-143-29/+53
| | | |
| * | | Merge topic 'FindGLUT-macos-tbd' into release-3.19Brad King2020-12-141-2/+10
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d29d034e2e FindGLUT: Handle Mojave and Big Sur 'tbd' framework files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5601
* | \ \ \ Merge topic 'external-project-drop-success'Brad King2020-12-221-2/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 850de767e9 ExternalProject: Silence step succeeded message when using Ninja Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5625
| * | | | | ExternalProject: Silence step succeeded message when using NinjaDaan De Meyer2020-12-171-2/+4
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When doing an ExternalProject superbuild with all output logged to files, the output currently looks as follows: ``` [652/904] Performing install step for 'plasma-framework' -- plasma-framework install command succeeded. See also /root/build/kde/frameworks/plasma-framework/log/plasma-framework-install-*.log [658/904] Performing build step for 'khtml' -- khtml build command succeeded. See also /root/build/kde/frameworks/khtml/log/khtml-build-*.log [659/904] Performing install step for 'khtml' -- khtml install command succeeded. See also /root/build/kde/frameworks/khtml/log/khtml-install-*.log [661/904] Performing configure step for 'krunner' -- krunner configure command succeeded. See also /root/build/kde/frameworks/krunner/log/krunner-configure-*.log [661/904] Performing build step for 'krunner' ``` More specifically, because a success line is printed for every succeeded step, we lose the advantage of Ninja's progress bar which will now also print a new line instead of updating the same link as happens when using Ninja in a normal CMake project. By silencing the success message when using the Ninja generator, Ninja's progress bar works as expected and updates inline instead of printing a new line for each progress update. With this change, the above output is reduced to a single line progress bar: ``` [661/904] Performing build step for 'krunner' ```
* | | | | Merge topic 'FindOpenSSL-win-arch'Brad King2020-12-221-5/+19
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | a6e03b2e6f FindOpenSSL: Distinguish 32-bit and 64-bit search paths on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5630
| * | | | FindOpenSSL: Distinguish 32-bit and 64-bit search paths on WindowsMa Br2020-12-211-5/+19
| |/ / / | | | | | | | | | | | | Fixes: #21611
* | | | CMakeDetermineCompilerId: Ensure CMAKE_EXECUTABLE_FORMAT is INTERNALCraig Scott2020-12-171-2/+2
|/ / / | | | | | | Fixes: #21607
* | | Merge topic 'FindQt3-find-sig'Brad King2020-12-151-2/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 38fce6d23b FindQt3: Add missing NAMES/PATHS keywords to find_ calls Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5611
| * | | FindQt3: Add missing NAMES/PATHS keywords to find_ callsBrad King2020-12-141-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | These are needed when using `PATH_SUFFIXES` to get the full signatures. Fixes: #21594