mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
While using internal libintl, make sure it is uptodate before linking lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38631 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f66746be70
commit
1d23f8bf79
@ -51,6 +51,7 @@ endif()
|
||||
|
||||
add_library(intl STATIC ${intl_sources} ${intl_headers})
|
||||
set(LIBINTL_LIBRARIES intl)
|
||||
add_custom_target(intl_target DEPENDS intl)
|
||||
|
||||
if(ICONV_FOUND)
|
||||
target_link_libraries(intl ${ICONV_LIBRARY})
|
||||
|
@ -128,6 +128,7 @@ target_link_libraries(${_lyx}
|
||||
|
||||
if(NOT LYX_EXTERNAL_LIBINTL OR WIN32)
|
||||
target_link_libraries(${_lyx} intl)
|
||||
add_dependencies(${_lyx} intl_target)
|
||||
endif()
|
||||
|
||||
if(HUNSPELL_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user