mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fixed/improved objective-c++ includepath (mac osx only)
This commit is contained in:
parent
d99660f20e
commit
a496bee27c
1
bam.lua
1
bam.lua
|
@ -367,7 +367,6 @@ function build(settings)
|
|||
if platform == "macosx" then
|
||||
notification_settings = client_settings:Copy()
|
||||
notification_settings.cc.flags:Add("-x objective-c++")
|
||||
notification_settings.cc.flags:Add("-I/System/Library/Frameworks/Foundation.framework/Versions/C/Headers")
|
||||
client_notification = Compile(notification_settings, "src/osx/notification.m")
|
||||
client_osxlaunch = Compile(client_settings, "src/osxlaunch/client.m")
|
||||
server_osxlaunch = Compile(launcher_settings, "src/osxlaunch/server.m")
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include <NSString.h>
|
||||
#include <NSUserNotification.h>
|
||||
#include <Cocoa/Cocoa.h>
|
||||
#include "notification.h"
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <Foundation/NSUserNotification.h>
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import "notification.h"
|
||||
|
||||
void CNotification::notify(const char *pTitle, const char *pMsg)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue