mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
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".
This commit is contained in:
parent
0d3d91c055
commit
3f790725d9
@ -271,4 +271,6 @@ ADD_CUSTOM_TARGET(update-gmo DEPENDS ${LYX_UPDATED_GMO_FILES})
|
|||||||
ADD_CUSTOM_TARGET(update-po DEPENDS ${LYX_UPDATED_PO_FILES} ${LYX_UPDATED_GMO_FILES})
|
ADD_CUSTOM_TARGET(update-po DEPENDS ${LYX_UPDATED_PO_FILES} ${LYX_UPDATED_GMO_FILES})
|
||||||
set_target_properties(update-po update-gmo PROPERTIES FOLDER "i18n")
|
set_target_properties(update-po update-gmo PROPERTIES FOLDER "i18n")
|
||||||
add_dependencies(update-po translations)
|
add_dependencies(update-po translations)
|
||||||
|
add_dependencies(update-gmo translations)
|
||||||
|
add_dependencies(update-gmo update-po)
|
||||||
|
|
||||||
|
@ -103,5 +103,5 @@ add_custom_command(
|
|||||||
DEPENDS Tex2lyxFilesUpdated
|
DEPENDS Tex2lyxFilesUpdated
|
||||||
)
|
)
|
||||||
|
|
||||||
add_custom_target(cleanupdatetex2lyxtests DEPENDS UpdateFilesRemoved)
|
add_custom_target(cleanupdatetex2lyxtests DEPENDS UpdateFilesRemoved updatetex2lyxtests)
|
||||||
set_target_properties(cleanupdatetex2lyxtests PROPERTIES FOLDER "tests/tex2lyx")
|
set_target_properties(cleanupdatetex2lyxtests PROPERTIES FOLDER "tests/tex2lyx")
|
||||||
|
Loading…
Reference in New Issue
Block a user