diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-08-10 10:57:24 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-08-10 19:32:06 +0200 |
commit | a29af6656f1c33355c4cbfe8587b8f6eae691a21 (patch) | |
tree | f10fedc1b3e3832134a49dc52dadf8756a710edf /cmake/QtLalrHelpers.cmake | |
parent | 64ac64ba6bb2f70ab6aafb9af91b142a765956c7 (diff) |
CMake: Fix detection of system double-conversion
...if the double-conversion CMake package cannot be loaded.
The find_path call must specify the header exactly as it is included.
The select_library_configurations call always failed, because the
command expects the presence of DOUBLE_CONVERSIONS_LIBRARY_DEBUG,
DOUBLE_CONVERSIONS_LIBRARY_RELEASE, or both.
Upstream double-conversion's MSVC build system does not specify a naming
scheme for the debug build, and there are no debug/release binaries to
download that suggest a naming scheme. Therefore we assume the usual
'd' suffix for the debug library like we do everywhere else.
Lastly, we need to set DOUBLE_CONVERSION_INCLUDE_DIRS.
Fixes: QTBUG-105501
Pick-to: 6.2 6.3 6.4
Change-Id: I71ff5238f353541b8bf5ac6792b86134deba20d1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtLalrHelpers.cmake')
0 files changed, 0 insertions, 0 deletions