Closed KBentley57 closed 2 years ago
If you can provide a pull request, that'd be welcome
Even,
I should have some free time a little later this week. I'll see what I can do.
Thanks,
Kyle
On 3/25/20, Even Rouault notifications@github.com wrote:
If you can provide a pull request, that'd be welcome
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/OSGeo/libgeotiff/issues/33#issuecomment-603981702
In line 287-290 of the top level CMakeLists.txt, the install command for the documents directory is hard-coded to the relative path "doc".
If a user (like myself) is building libgeotiff by itself via the ExternalPackage_Add command, and only building libgeotiff, this has the effect of installing "doc" in the directory defined by CMAKE_INSTALL_PREFIX, instead of CMAKE_INSTALL_PREFIX/share. I believe this is caused byt the
SOURCE_SUBDIR
line being necessary to let CMake know where to look for the CMakeLists.txt file.It looks like this was supported at one time, but now it's commented out. Was that a mistake/typo? In any case, it would seem like a good idea to have the installation directory modifiable by the user.
For reference: This is the command used for building libgeotiff.so from the tarball. (My md5 is different from the release due to the xz repackaging.)