From fdecefdb7fc8fb0155b965774a29aaecded73378 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20K=C3=BCmmel?= Date: Mon, 29 Jan 2007 23:20:36 +0000 Subject: [PATCH] add apple fixes from Andreas Vox git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16943 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cmake/src/CMakeLists.txt | 5 +++++ development/cmake/src/tex2lyx/CMakeLists.txt | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/development/cmake/src/CMakeLists.txt b/development/cmake/src/CMakeLists.txt index fcb5fc3912..90ef06eeaa 100644 --- a/development/cmake/src/CMakeLists.txt +++ b/development/cmake/src/CMakeLists.txt @@ -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) diff --git a/development/cmake/src/tex2lyx/CMakeLists.txt b/development/cmake/src/tex2lyx/CMakeLists.txt index d7c5de6d42..1883eb5580 100644 --- a/development/cmake/src/tex2lyx/CMakeLists.txt +++ b/development/cmake/src/tex2lyx/CMakeLists.txt @@ -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) -- 2.39.2