X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=8ad97de7ee056852e4212a5e89bf8f74b5b32d9f;hb=b5c693eb0f99a7e5dec4f0da909803aa355c64f7;hp=e65b2590d4ac74bde3fd4f53f0ec77b9034a7800;hpb=7d2c054611118cdd60080b296ec5449060f713a6;p=lyx.git diff --git a/CMakeLists.txt b/CMakeLists.txt index e65b2590d4..8ad97de7ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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,8 +679,9 @@ if(UNIX) endif() if(LYX_3RDPARTY_BUILD) - add_subdirectory(src/3rdparty/libiconv) - add_subdirectory(src/3rdparty/zlib) + add_subdirectory(3rdparty/libiconv) + set(HAVE_ICONV_CONST 1) + add_subdirectory(3rdparty/zlib) endif()