mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
require iconv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14669 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4a14a050b4
commit
1f3b82f3ba
@ -30,14 +30,8 @@ else(qt3)
|
|||||||
endif(qt3)
|
endif(qt3)
|
||||||
|
|
||||||
find_package(ZLIB REQUIRED)
|
find_package(ZLIB REQUIRED)
|
||||||
|
find_package(ICONV REQUIRED)
|
||||||
|
add_definitions(-DHAVE_ICONV=1)
|
||||||
if(all OR nls)
|
|
||||||
find_package(ICONV REQUIRED)
|
|
||||||
else(all OR nls)
|
|
||||||
find_package(ICONV)
|
|
||||||
endif(all OR nls)
|
|
||||||
set(nls)
|
|
||||||
|
|
||||||
if(all OR aspell)
|
if(all OR aspell)
|
||||||
find_package(ASPELL REQUIRED)
|
find_package(ASPELL REQUIRED)
|
||||||
@ -47,12 +41,11 @@ endif(all OR aspell)
|
|||||||
set(aspell)
|
set(aspell)
|
||||||
|
|
||||||
message("")
|
message("")
|
||||||
if(ICONV_FOUND)
|
if(nls)
|
||||||
add_definitions(-DENABLE_NLS=1 -DHAVE_ICONV=1)
|
add_definitions(-DENABLE_NLS=1)
|
||||||
message("----- Building with ENABLE_NLS and HAVE_ICONV")
|
message("----- Building with ENABLE_NLS and HAVE_ICONV")
|
||||||
else(ICONV_FOUND)
|
endif(nls)
|
||||||
message("----- No iconv found, to get more information use -Dnls=1")
|
set(nls)
|
||||||
endif(ICONV_FOUND)
|
|
||||||
if(ASPELL_FOUND)
|
if(ASPELL_FOUND)
|
||||||
add_definitions(-DUSE_ASPELL=1)
|
add_definitions(-DUSE_ASPELL=1)
|
||||||
message("----- Building with USE_ASPELL")
|
message("----- Building with USE_ASPELL")
|
||||||
|
Loading…
Reference in New Issue
Block a user