public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* CMake support into expat-2.4.1 is broken.
@ 2022-01-20 12:12 Carlo B.
  0 siblings, 0 replies; only message in thread
From: Carlo B. @ 2022-01-20 12:12 UTC (permalink / raw)
  To: cygwin

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-20 12:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-20 12:12 CMake support into expat-2.4.1 is broken Carlo B.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).