Describe the bug
After using vcpkg to install libgeotiff on linux, Cmake is unable to find the package correctly. (Edit - I found that the same thing happens on windows as well.)
Environment
- OS: Ubuntu 20.04 LTS
- Compiler: GCC 9.3
To Reproduce
Steps to reproduce the behavior:
- ./vcpkg install libgeotiff
- Use
find_package(geotiff CONFIG REQUIRED) in a CMakeLists.txt file.
Expected behavior
CMake finds libgeotiff.
Failure logs
After find_package(geotiff CONFIG REQUIRED), Cmake produces the following error:
CMake Error at /home/max/code/vcpkg/scripts/buildsystems/vcpkg.cmake:644 (_find_package):
Could not find a configuration file for package "geoTIFF" that is
compatible with requested version "".
The following configuration files were considered but not accepted:
/home/max/code/vcpkg/installed/x64-linux/share/GeoTIFF/geotiff-config.cmake, version: 1.6.0
Call Stack (most recent call first):
CMakeLists.txt:6 (find_package)
Describe the bug
After using vcpkg to install libgeotiff on linux, Cmake is unable to find the package correctly. (Edit - I found that the same thing happens on windows as well.)
Environment
To Reproduce
Steps to reproduce the behavior:
find_package(geotiff CONFIG REQUIRED)in aCMakeLists.txtfile.Expected behavior
CMake finds libgeotiff.
Failure logs
After
find_package(geotiff CONFIG REQUIRED), Cmake produces the following error: