fix build for 3rdparty dir out of src/

This commit is contained in:
Peter Kümmel 2015-12-15 13:18:47 +01:00
parent 3bd2cfecf0
commit a3646a42a9

View File

@ -613,7 +613,7 @@ set(Spelling_FOUND OFF)
set(Include_used_spellchecker) # String will be inserted into config.h
if(LYX_3RDPARTY_BUILD)
add_subdirectory(src/3rdparty/hunspell)
add_subdirectory(3rdparty/hunspell)
add_definitions(-DHUNSPELL_STATIC)
set(HUNSPELL_FOUND ON)
message(STATUS " * Hunspell:")
@ -679,9 +679,9 @@ if(UNIX)
endif()
if(LYX_3RDPARTY_BUILD)
add_subdirectory(src/3rdparty/libiconv)
add_subdirectory(3rdparty/libiconv)
set(HAVE_ICONV_CONST 1)
add_subdirectory(src/3rdparty/zlib)
add_subdirectory(3rdparty/zlib)
endif()