Am Tue, 19 Mar 2024 15:31:00 +0100
schrieb pdv <pdvissch...@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

Attachment: pgpeiWA5bVpUU.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to