]> git.lyx.org Git - lyx.git/blobdiff - CMakeLists.txt
Typo
[lyx.git] / CMakeLists.txt
index e65b2590d4ac74bde3fd4f53f0ec77b9034a7800..8ad97de7ee056852e4212a5e89bf8f74b5b32d9f 100644 (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,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()