diff --git a/development/cmake/modules/FindLibintl.cmake b/development/cmake/modules/FindLibintl.cmake index d9d168eed1..745f8dd062 100644 --- a/development/cmake/modules/FindLibintl.cmake +++ b/development/cmake/modules/FindLibintl.cmake @@ -22,7 +22,7 @@ endif(LIBINTL_INCLUDE_DIR AND LIBINTL_LIB_FOUND) find_path(LIBINTL_INCLUDE_DIR libintl.h) -find_file(LIBINTL_HEADER iconv.h +find_file(LIBINTL_HEADER libintl.h PATHS ${LIBINTL_INCLUDE_DIR} NO_DEFAULT_PATH) set(LIBINTL_LIB_FOUND FALSE) diff --git a/development/cmake/modules/FindZLIB.cmake b/development/cmake/modules/FindZLIB.cmake index 51fdbaf6a1..91223d3766 100644 --- a/development/cmake/modules/FindZLIB.cmake +++ b/development/cmake/modules/FindZLIB.cmake @@ -14,7 +14,7 @@ find_path(ZLIB_INCLUDE_DIR zlib.h PATHS /usr/local/include "${GNUWIN32_DIR}"/include) -find_file(ZLIB_HEADER iconv.h +find_file(ZLIB_HEADER zlib.h PATHS ${ZLIB_INCLUDE_DIR} NO_DEFAULT_PATH) set(POTENTIAL_Z_LIBS z zlib zdll) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b920452369..5a6615637f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -76,10 +76,6 @@ if (LYX_DEVEL_VERSION) add_definitions(-DDEVEL_VERSION) endif() -if(APPLE) - list(APPEND dont_merge ${TOP_SRC_DIR}/src/TexRow.cpp) -endif() - if (LYX_MERGE_FILES) if(dont_merge)