]> git.lyx.org Git - features.git/commitdiff
add apple fixes from Andreas Vox
authorPeter Kümmel <syntheticpp@gmx.net>
Mon, 29 Jan 2007 23:20:36 +0000 (23:20 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Mon, 29 Jan 2007 23:20:36 +0000 (23:20 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16943 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/src/CMakeLists.txt
development/cmake/src/tex2lyx/CMakeLists.txt

index fcb5fc3912291afe81f0a84288c375825563414c..90ef06eeaab4985d44184d4e2a4cd228e9ec586d 100644 (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)
 
 
index d7c5de6d42fabec6e024663bedb6b9f24939b99f..1883eb5580e7dcd38d9dd70822bd51f0ba4627c6 100644 (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)