OSGeo / libgeotiff

Official repository of the libgeotiff project
178 stars 69 forks source link

CMake fixes #77

Closed dg0yt closed 2 years ago

dg0yt commented 2 years ago

This is the alternative to #76: Export TIFF as a public dependency in CMake config. In addition, it fixes the wrong order of cmake_minimum_required and project, resolving unexpected CMake policy behaviour.

dg0yt commented 2 years ago

CI update: The liblzma DLL name in vcpkg is now liblzma.dll. Actually this is upstream's preference: https://github.com/xz-mirror/xz/blob/5d8f3764ef43c35910e6d7003c0900a961ef6544/CMakeLists.txt#L444-L446

(vcpkg used to have broken patching of the runtime output name, but I fixed this not so long ago.)