Closed dg0yt closed 1 day ago
Removed FindDB2.cmake.
There are interesting hits for git grep DB2
(frmts/drivers.ini, and HACK_FOR_IBM_DB2_V72), but this out of scope for this PR.
frmts/drivers.ini,
just removed that one
HACK_FOR_IBM_DB2_V72
hum, that one dates back to times where I was hardly born. It doesn't related with the DB2 driver that was added (and eventually removed) after this HACK_FOR_IBM_DB2_V72
What does this PR do?
This PR revises CMake code for MSVC.
CMAKE_CL_64
is discouraged: https://cmake.org/cmake/help/latest/variable/CMAKE_CL_64.html_WIN64
is defined by MSVC preprocessor: https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170/machine:x64
breaks arm64. (Ported from https://github.com/microsoft/vcpkg/commit/dcf8a700dee158c3690e8a824a7ff8e24687a6ec#diff-d9dc7eb8a09a06ac0d7d8954d0422637dd33206bd73bee02952f1222f9438630R9.)Tasklist
Environment
Provide environment details, if relevant:
No local testing due to no MSVC.