<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Am 29.09.23 um 16:20 schrieb Abel Pau
via gdal-dev:<br>
</div>
<blockquote type="cite"
cite="mid:AS8PR07MB8168CBC7B041A3CCA9611102A2C0A@AS8PR07MB8168.eurprd07.prod.outlook.com">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<div class="WordSection1"><span lang="EN-US">I add next two lines
below (ODBC is not in vcpkg?)
</span>
<p class="MsoNormal"><span>list</span><span>(</span><span>APPEND</span><span>
CMAKE_PREFIX_PATH </span><span>"C:/dev/vcpkg/vcpkg/installed"</span><span>)</span></p>
<p class="MsoNormal"><span>set</span><span>(ODBCCPP_INCLUDE_DIR
</span><span>"D:/GitHub-repository/odbc-cpp-wrapper/src"</span><span>)</span></p>
</div>
</blockquote>
<p>Note that vcpkg's CMake integration requires using vcpkg's CMake
toolchain file (but you can chainload another toolchain file). In
particular, the toolchain file integrates vcpkg's wrappers for
CMake's Find modules. Without those wrappers, some dependencies
won't be found, or release/debug libraries may mix unexpectedly.<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://learn.microsoft.com/en-us/vcpkg/users/buildsystems/cmake-integration">https://learn.microsoft.com/en-us/vcpkg/users/buildsystems/cmake-integration</a><br>
</p>
<p>Kai<br>
</p>
</body>
</html>