summaryrefslogtreecommitdiffstats
path: root/Modules/BasicConfigVersion-SameMajorVersion.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-22 15:47:55 (GMT)
committerBrad King <brad.king@kitware.com>2023-03-22 15:50:18 (GMT)
commita6bb4975abab72b0cdc652d4fec0c9784462b7a6 (patch)
treedbe4acabc82b795555d8d2863c6c621ae32933f0 /Modules/BasicConfigVersion-SameMajorVersion.cmake.in
parent15a86d45d11e70c1224cacd0c894d1365ebd2ae7 (diff)
downloadCMake-a6bb4975abab72b0cdc652d4fec0c9784462b7a6.zip
CMake-a6bb4975abab72b0cdc652d4fec0c9784462b7a6.tar.gz
CMake-a6bb4975abab72b0cdc652d4fec0c9784462b7a6.tar.bz2
FindHDF5: Restore parallel HDF5 detection with only CXX enabled
Since commit 14c46fb16a (FindHDF5: Find C component with only CXX compiler, 2022-12-13, v3.26.0-rc1~175^2), if CXX is enabled but C is not, the `_HDF5_test_regular_compiler_C` helper writes a `.cpp` source but the `_HDF5_invoke_compiler` still expects a `.c` source. Refactor the logic to select a name for the source file up front, and use it in both helpers. Fixes: #24627 Issue: #24241
Diffstat (limited to 'Modules/BasicConfigVersion-SameMajorVersion.cmake.in')
0 files changed, 0 insertions, 0 deletions