]> git.lyx.org Git - lyx.git/blobdiff - src/CMakeLists.txt
tex2lyx/text.cpp: whitespace fix
[lyx.git] / src / CMakeLists.txt
index fbf714702ddc4b3e7db552bc37005997e56d559f..3f3ebe9ac41e565b05c77fa93143525063c5ee0e 100644 (file)
@@ -142,13 +142,16 @@ endif()
 if(ENCHANT_FOUND)
        target_link_libraries(${_lyx} ${ENCHANT_LIBRARY})
 endif()
+if(Magic_FOUND)
+       target_link_libraries(${_lyx} ${Magic_LIBRARY})
+endif()
 
 if(APPLE)
        target_link_libraries(${_lyx} "-bind_at_load")
        if(LYX_COCOA)
                target_link_libraries(${_lyx} "-framework Cocoa")
        else()
-               target_link_libraries(${_lyx} "-framework Carbon")
+               target_link_libraries(${_lyx} "-framework AppKit")
        endif()
 endif()