add apple fixes from Andreas Vox

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16943 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2007-01-29 23:20:36 +00:00
parent 2af3ebc903
commit fdecefdb7f
2 changed files with 9 additions and 0 deletions

View File

@ -61,6 +61,11 @@ if(ASPELL_FOUND)
target_link_libraries(lyx-${qt_postfix} ${ASPELL_LIBRARY})
endif(ASPELL_FOUND)
if(APPLE)
target_link_libraries(lyx-${qt_postfix} "-bind_at_load" )
target_link_libraries(lyx-${qt_postfix} "-framework Carbon" )
endif(APPLE)
project_source_group("${GROUP_CODE}" lyx_sources lyx_headers)

View File

@ -67,5 +67,9 @@ if(WIN32)
target_link_libraries(tex2lyx shlwapi)
endif(WIN32)
if(APPLE)
target_link_libraries(tex2lyx "-framework Carbon")
endif(APPLE)
project_source_group("${GROUP_CODE}" tex2lyx_sources tex2lyx_headers)