Am 29.09.23 um 16:20 schrieb Abel Pau via gdal-dev:
I add next two lines below (ODBC is not in vcpkg?)
list(APPENDCMAKE_PREFIX_PATH "C:/dev/vcpkg/vcpkg/installed")
set(ODBCCPP_INCLUDE_DIR "D:/GitHub-repository/odbc-cpp-wrapper/src")
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.
https://learn.microsoft.com/en-us/vcpkg/users/buildsystems/cmake-integration
Kai
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev