mirror of
https://github.com/darlinghq/darling-dbuskit.git
synced 2024-11-23 04:09:42 +00:00
Enable OBJC_OLD_DISPATCH_PROTOTYPES
This commit is contained in:
parent
399f8bcb76
commit
890e51fda9
@ -10,6 +10,12 @@ include_directories(
|
||||
${PC_DBUS_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
add_compile_definitions(
|
||||
# tells the objc API headers to use the generically-typed function declarations for `objc_msgSend` and friends
|
||||
# (Apple really wants people to cast the functions before using them)
|
||||
OBJC_OLD_DISPATCH_PROTOTYPES=1
|
||||
)
|
||||
|
||||
set(DBusKit_sources
|
||||
Source/DKArgument.m
|
||||
Source/DKBoxingUtils.m
|
||||
|
Loading…
Reference in New Issue
Block a user