set(LINKED_headers)
foreach(_src insets/InsetLayout Color Counters
- Encoding FloatList Floating
+ Encoding FloatList Floating FontInfo
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()
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()