mirror of
https://github.com/darlinghq/darling-TextEdit.git
synced 2024-11-26 21:30:41 +00:00
Update CMakeLists to use the darwin linker
This commit is contained in:
parent
2ba12c73b7
commit
5561fa316a
@ -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