On 31/12/2025 16:31, Kornel Benko wrote:
Am Wed, 31 Dec 2025 16:11:41 +0100
schrieb pdv <[email protected]>:

On 31/12/2025 12:31, Kornel Benko wrote:
Am Wed, 31 Dec 2025 12:06:44 +0100
schrieb pdv <[email protected]>:
Obviously my problem is caused by LYX_INSTALL not being set.
When I set it on the configure is OK but when generating I get the error
message

The custom command generating

       .../lyx-qt6-cmake-xcode-build/doc/LFUNs.lyx

     is attached to multiple targets:

       doc
       lfundoc

     but none of these is a common dependency of the other(s).  This is not
     allowed by the Xcode "new build system".

I didn't mention I used XCode I'm afraid (version 16.4).

pdv

OK, try the attached. No problems on Linux.

        Kornel


The patch didn't help.

CMake Error in development/cmake/doc/CMakeLists.txt:
    The custom command generating

      /Users/pdv/Developer/public/lyx-qt6-cmake-xcode-build/doc/LFUNs.lyx

    is attached to multiple targets:

      doc
      lfundoc

    but none of these is a common dependency of the other(s).  This is not
    allowed by the Xcode "new build system".


OK, so wrong function suspected.

Please try attached. (Diff is against master)

        Kornel


CMake is OK.

The XCode install build fails because LFUNs.lyx is missing:

CMake Error at doc/cmake_install.cmake:507 (file):
  file INSTALL cannot find
  "../lyx-qt6-cmake-xcode-build/doc/LFUNs.lyx": No
  such file or directory.

The other .lyx files are present.
Does this make sense? Maybe I should start a clean build?

--
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to