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:
Peter Kümmel 2011-05-12 21:55:24 +00:00
parent 9906953921
commit b3cffb0fc0

View File

@ -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")