]> git.lyx.org Git - features.git/commitdiff
Add framework AppKit to cmake as in the automake case (MAC only)
authorKornel Benko <kornel@lyx.org>
Mon, 3 Oct 2011 16:49:06 +0000 (16:49 +0000)
committerKornel Benko <kornel@lyx.org>
Mon, 3 Oct 2011 16:49:06 +0000 (16:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39798 a592a061-630c-0410-9148-cb99ea01b6c8

src/CMakeLists.txt
src/client/CMakeLists.txt
src/tex2lyx/CMakeLists.txt

index fbf714702ddc4b3e7db552bc37005997e56d559f..86a7ed4c229ff4697bbe45542bc53038a8cf63ac 100644 (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()
 
index 5e415e658a78a4143536675c3c7fc0f527d2d1ba..6fe918ce1ecdc57d3665f5d4f3f88eb3a13fcf8e 100644 (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)
index 9a12353c6d3eb749ce6bc63a9acd9958d0c42c83..49d39c4bd44c3ab8cf1f633c7bb8c68040768791 100644 (file)
@@ -51,7 +51,7 @@ if(WIN32)
 endif()
 
 if(APPLE)
-       target_link_libraries(${_tex2lyx} "-framework Carbon")
+       target_link_libraries(${_tex2lyx} "-framework AppKit")
 endif()