mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-12 03:23:12 +00:00
Backport cmake-build for using framework AppKit instead of Carbon on Apple
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40323 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d45fdbc3c6
commit
953d97afc0
@ -139,7 +139,7 @@ endif()
|
||||
|
||||
if(APPLE)
|
||||
target_link_libraries(${_lyx} "-bind_at_load")
|
||||
target_link_libraries(${_lyx} "-framework Carbon")
|
||||
target_link_libraries(${_lyx} "-framework AppKit")
|
||||
endif()
|
||||
|
||||
if(MINGW)
|
||||
|
@ -39,7 +39,7 @@ if(ASPELL_FOUND)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
target_link_libraries(${_lyxclient} "-framework Carbon")
|
||||
target_link_libraries(${_lyxclient} "-framework AppKit")
|
||||
endif()
|
||||
|
||||
install(TARGETS ${_lyxclient} DESTINATION bin)
|
||||
|
@ -75,7 +75,7 @@ target_link_libraries(support ${Lyx_Boost_Libraries} ${QT_QTCORE_LIBRARY} ${ZLIB
|
||||
lyx_add_gcc_pch(support)
|
||||
|
||||
if(APPLE)
|
||||
target_link_libraries(support "objc" "-framework Appkit" "-framework CoreFoundation")
|
||||
target_link_libraries(support "objc" "-framework AppKit" "-framework CoreFoundation")
|
||||
elseif(WIN32)
|
||||
target_link_libraries(support shlwapi psapi)
|
||||
endif()
|
||||
|
@ -51,7 +51,7 @@ if(WIN32)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
target_link_libraries(${_tex2lyx} "-framework Carbon")
|
||||
target_link_libraries(${_tex2lyx} "-framework AppKit")
|
||||
endif()
|
||||
|
||||
project_source_group("${GROUP_CODE}" tex2lyx_sources tex2lyx_headers)
|
||||
|
Loading…
Reference in New Issue
Block a user