mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
cmake: LIBINTL_LIBRARIES could be empty
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38732 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9906953921
commit
b3cffb0fc0
@ -340,7 +340,9 @@ if(LYX_EXTERNAL_LIBINTL)
|
||||
# find getext when configuring
|
||||
list(APPEND CMAKE_REQUIRED_LIBRARIES ${LIBINTL_LIBRARIES})
|
||||
# on mac use iconv also form ports
|
||||
if(DEFINED LIBINTL_LIBRARIES)
|
||||
get_filename_component(ICONV_RELATIVE_TO_LIBINTL ${LIBINTL_LIBRARIES} PATH)
|
||||
endif()
|
||||
else()
|
||||
if(LYX_NLS)
|
||||
add_subdirectory(intl "${TOP_BINARY_DIR}/intl")
|
||||
|
Loading…
Reference in New Issue
Block a user