add_subdirectory(mathed)
add_subdirectory(support)
add_subdirectory(tex2lyx)
+if (APPLE)
+ add_subdirectory(convert)
+endif()
if (UNIX)
add_subdirectory(client)
endif()
add_dependencies(${_lyx} lyx_version)
-set_target_properties(${_lyx} PROPERTIES FOLDER "applications/LyX")
-
+set_target_properties(${_lyx} PROPERTIES
+ FOLDER "applications/LyX"
+ INTERPROCEDURAL_OPTIMIZATION ${LYX_IPO_SUPPORTED})
lyx_add_gcc_pch(${_lyx})
target_link_libraries(${_lyx}
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)