add_subdirectory(mathed)
add_subdirectory(support)
add_subdirectory(tex2lyx)
+if (APPLE)
+ add_subdirectory(convert)
+endif()
if (UNIX)
add_subdirectory(client)
endif()
lyx_add_info_files(VLD ${vld_files})
endif()
-if(WIN32 AND NOT MINGW)
- set(FILE_RC ${TOP_CMAKE_PATH}/lyx.rc)
- message(STATUS "Using icon defined in resource file: ${FILE_RC}")
+if(WIN32)
+ if (MINGW)
+ set(FILE_RC_COMPILED ${TOP_CMAKE_PATH}/lyx.coff)
+ message(STATUS "Using icon defined in resource file: ${FILE_RC_COMPILED}")
+ else()
+ set(FILE_RC ${TOP_CMAKE_PATH}/lyx.rc)
+ message(STATUS "Using icon defined in resource file: ${FILE_RC}")
+ endif()
endif()
lyx_find_info_files(LyXInfoFiles ${TOP_SRC_DIR}/*)
frontend_qt
graphics
support
+ ${FILE_RC_COMPILED}
${MYTHESLIB_LIBRARY}
${ICONV_LIBRARY}
${LYX_QTMAIN_LIBRARY}
project_source_group("${GROUP_CODE}" lyx_sources lyx_headers)
-install(TARGETS ${_lyx}
+install(TARGETS ${_lyx}
BUNDLE DESTINATION . COMPONENT Runtime
RUNTIME DESTINATION ${LYX_UTILITIES_INSTALL_PATH} COMPONENT Runtime)