set(LINKED_sources ${TOP_SRC_DIR}/src/lengthcommon.cpp)
set(LINKED_headers)
-foreach(_src insets/InsetLayout Color Counters
- Encoding FloatList Floating
+foreach(_src insets/InsetLayout Author Color Counters
+ Encoding FloatList Floating FontInfo LaTeXPackages
Layout LayoutFile LayoutModuleList Lexer ModuleList TextClass
- FontInfo Spacing)
+ Spacing version)
list(APPEND LINKED_sources ${TOP_SRC_DIR}/src/${_src}.cpp)
list(APPEND LINKED_headers ${TOP_SRC_DIR}/src/${_src}.h)
endforeach(_src)
endif()
if(APPLE)
- target_link_libraries(${_tex2lyx} "-framework Carbon")
+ target_link_libraries(${_tex2lyx} "-framework AppKit")
endif()
-if(NOT LYX_EXTERNAL_LIBINTL OR WIN32)
- target_link_libraries(${_tex2lyx} intl)
- add_dependencies(${_tex2lyx} intl_target)
-endif()
project_source_group("${GROUP_CODE}" tex2lyx_sources tex2lyx_headers)
-install(TARGETS ${_tex2lyx} DESTINATION bin)
+if(LYX_BUNDLE)
+ install(TARGETS ${_tex2lyx}
+ RUNTIME DESTINATION bin
+ BUNDLE DESTINATION .)
+else()
+ install(TARGETS ${_tex2lyx} DESTINATION bin)
+endif()