mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
cmake: cleanup, merge two patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38748 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
605d3121f8
commit
3090fee4e0
@ -337,10 +337,10 @@ endif()
|
||||
|
||||
if(LYX_EXTERNAL_LIBINTL)
|
||||
find_package(Libintl REQUIRED)
|
||||
# find getext when configuring
|
||||
list(APPEND CMAKE_REQUIRED_LIBRARIES ${LIBINTL_LIBRARIES})
|
||||
# on mac use iconv also form ports
|
||||
if(DEFINED LIBINTL_LIBRARIES)
|
||||
# find getext when configuring
|
||||
list(APPEND CMAKE_REQUIRED_LIBRARIES ${LIBINTL_LIBRARIES})
|
||||
# on mac use iconv also form ports
|
||||
get_filename_component(ICONV_RELATIVE_TO_LIBINTL ${LIBINTL_LIBRARIES} PATH)
|
||||
endif()
|
||||
else()
|
||||
|
Loading…
Reference in New Issue
Block a user