i think that something like the attached is needed
Index: development/cmake/src/support/CMakeLists.txt =================================================================== --- development/cmake/src/support/CMakeLists.txt (revision 20030) +++ development/cmake/src/support/CMakeLists.txt (working copy) @@ -10,8 +10,11 @@ file(GLOB support_headers ${TOP_SRC_DIR}/src/support/${LYX_HPP_FILES}) file(GLOB support_minzip_sources ${TOP_SRC_DIR}/src/support/minizip/*.c) -file(GLOB support_min_zip_headers ${TOP_SRC_DIR}/src/support/minizip/*.h) +file(GLOB support_minzip_headers ${TOP_SRC_DIR}/src/support/minizip/*.h) +list(APPEND support_minzip_sources + ${TOP_SRC_DIR}/src/support/minizip/zipunzip.cpp) + list(REMOVE_ITEM support_sources ${TOP_SRC_DIR}/src/support/os_win32.cpp ${TOP_SRC_DIR}/src/support/os_unix.cpp