mirror of
https://github.com/darlinghq/darling-TextEdit.git
synced 2024-11-26 21:30:41 +00:00
Merge pull request #1 from CKegel/CMake_Patch
Build TextEdit with the darwin linker
This commit is contained in:
commit
99ec72a94d
@ -31,4 +31,7 @@ add_darling_executable(TextEdit
|
||||
FontNameTransformer.m
|
||||
PrintingTextView.m
|
||||
)
|
||||
set_target_properties(TextEdit PROPERTIES LINK_FLAGS "-Wl,-sectorder,__TEXT,__text,${CMAKE_CURRENT_SOURCE_DIR}/TextEdit.scatterload -Wl,-e,start" C_STANDARD 11)
|
||||
|
||||
target_link_libraries(TextEdit AppKit)
|
||||
set_property(TARGET TextEdit APPEND_STRING PROPERTY LINK_FLAGS "-Wl,-sectorder -Wl,__TEXT -Wl,__text -Wl,${CMAKE_CURRENT_SOURCE_DIR}/TextEdit.scatterload")
|
||||
set_property(TARGET TextEdit PROPERTY C_STANDARD 11)
|
||||
|
Loading…
Reference in New Issue
Block a user