Skip to content

Conversation

rouault
Copy link
Member

@rouault rouault commented Feb 17, 2022

Windows Conda builds with the MrSID drivers failed because it couldn't
find the geotiff headers. Other drivers need it but must include the
Conda include directories because of other packages, hence it was
unnoticed.

geotiff-config.cmake doesn't define an explicit CMake target but only
CMake variables.

CC @dg0yt

Windows Conda builds with the MrSID drivers failed because it couldn't
find the geotiff headers. Other drivers need it but must include the
Conda include directories because of other packages, hence it was
unnoticed.

geotiff-config.cmake doesn't define an explicit CMake target but only
CMake variables.
@rouault rouault force-pushed the cmake_fix_geotiff_config branch from 3bce63b to 8d2bbac Compare February 17, 2022 21:40
@dg0yt
Copy link
Contributor

dg0yt commented Feb 18, 2022

Okay.

geotiff-config.cmake seems to focus on providing the variables generally used with Find Modules. Apart from the include dirs, the target geotiff_library also lacks a proper name suffix, and doesn't use targets for its interface link libraries. This needs to be improved in libgeotiff.

I hope that there are not too many more surprises left, because we use only a few configs now. Another observation: In CI on Linux, cmake now finds zstd::zst_shared from linuxbrew intead of the system's zstd. This has an effect on the include dirs and on the rpath.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants