Add framework AppKit to cmake as in the automake case (MAC only)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39798 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Kornel Benko 2011-10-03 16:49:06 +00:00
parent 35b580fb30
commit 3004722131
3 changed files with 3 additions and 3 deletions

View File

@ -148,7 +148,7 @@ if(APPLE)
if(LYX_COCOA)
target_link_libraries(${_lyx} "-framework Cocoa")
else()
target_link_libraries(${_lyx} "-framework Carbon")
target_link_libraries(${_lyx} "-framework AppKit")
endif()
endif()

View File

@ -39,7 +39,7 @@ if(ASPELL_FOUND)
endif()
if(APPLE)
target_link_libraries(${_lyxclient} "-framework Carbon")
target_link_libraries(${_lyxclient} "-framework AppKit")
endif()
if(LYX_BUNDLE)

View File

@ -51,7 +51,7 @@ if(WIN32)
endif()
if(APPLE)
target_link_libraries(${_tex2lyx} "-framework Carbon")
target_link_libraries(${_tex2lyx} "-framework AppKit")
endif()