cmake build on macos (Sonoma, XCode) fails and remedy
Kornel Benko
kornel at lyx.org
Wed Mar 20 10:46:49 UTC 2024
Am Tue, 19 Mar 2024 15:31:00 +0100
schrieb pdv <pdvisschere at edpnet.be>:
> Using the latest commit and building lyx with cmake on macos-sonoma with
> xcode fails with multiple error messages like this one:
>
> ----------
> CMake Error in po/CMakeLists.txt:
> The custom command generating
>
> <build-directory>/po/LyX2.4.cat.pot
>
> is attached to multiple targets:
>
> translations
> update-gmo
>
> but none of these is a common dependency of the other(s). This is not
> allowed by the Xcode "new build system".
> -----------
>
> These issues are solved by adding the following target dependencies
> (patch included)
>
> add_dependencies(update-gmo translations)
> add_dependencies(update-gmo update-po)
>
> add_dependencies(cleanupdatetex2lyxtests updatetex2lyxtests)
>
>
> pdv
It's in at 3f790725.
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240320/dcb27b81/attachment.asc>
More information about the lyx-devel
mailing list