From: Kornel Benko Date: Mon, 3 Oct 2011 16:49:06 +0000 (+0000) Subject: Add framework AppKit to cmake as in the automake case (MAC only) X-Git-Tag: 2.1.0beta1~2628 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=3004722131b6fa4837d490ab27ee73864ed1f1d9;p=features.git 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 --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fbf714702d..86a7ed4c22 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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() diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt index 5e415e658a..6fe918ce1e 100644 --- a/src/client/CMakeLists.txt +++ b/src/client/CMakeLists.txt @@ -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) diff --git a/src/tex2lyx/CMakeLists.txt b/src/tex2lyx/CMakeLists.txt index 9a12353c6d..49d39c4bd4 100644 --- a/src/tex2lyx/CMakeLists.txt +++ b/src/tex2lyx/CMakeLists.txt @@ -51,7 +51,7 @@ if(WIN32) endif() if(APPLE) - target_link_libraries(${_tex2lyx} "-framework Carbon") + target_link_libraries(${_tex2lyx} "-framework AppKit") endif()