CMake support into expat-2.4.1 is broken.
Carlo B.
carlo.bramini@gmail.com
Thu Jan 20 12:12:34 GMT 2022
Hello,
I tried to build the latest stable of OpenColorIO but I got an error
because the support for CMake into expat is broken.
I'm getting this message:
CMake Error at /usr/lib/cmake/expat-2.4.1/expat.cmake:74 (message):
The imported target "expat::expat" references the file
"/usr/lib/libexpat.so.1.8.1"
but this file does not exist.
which is true, as you can see by inspecting the file
/usr/lib/cmake/expat-2.4.1/expat-noconfig.cmake.
As you can see by looking here:
https://github.com/libexpat/libexpat/tree/master/expat/cmake/autotools
this is a bug of Expath because "expat-noconfig__linux.cmake.in" is
installed rather than expat-noconfig__windows.cmake.in.
Here:
https://github.com/libexpat/libexpat/pull/546
I made a PR to the master of Expat for fixing this issue.
I was wondering if a newer packaged could be published with a newer
stable version of Expat (when it will be released with this fix) or by
updating the cygport file by including the same patch.
Thank you very much.
Sincerely.
More information about the Cygwin
mailing list