From 8b77cb1bff261dbe7c9975918dd3915c2f32b0e0 Mon Sep 17 00:00:00 2001 From: Kevin Smith <git@kismith.co.uk> Date: Thu, 13 Nov 2014 22:01:11 +0000 Subject: Compile Cocoa event loop in xcode too Change-Id: I2494ca43f30c3a7e90fe38f20df421e53972974c diff --git a/Swiften/EventLoop/SConscript b/Swiften/EventLoop/SConscript index 8bef8fb..d26661c 100644 --- a/Swiften/EventLoop/SConscript +++ b/Swiften/EventLoop/SConscript @@ -12,7 +12,7 @@ sources = [ objects = swiften_env.SwiftenObject(sources) swiften_env.Append(SWIFTEN_OBJECTS = [objects]) -if swiften_env["PLATFORM"] == "darwin" and swiften_env["target"] == "native": +if swiften_env["PLATFORM"] == "darwin" and swiften_env["target"] == "native" or swiften_env["target"] == 'xcode': myenv = swiften_env.Clone() myenv.Append(CXXFLAGS = myenv["OBJCCFLAGS"]) objects = myenv.SwiftenObject([ -- cgit v0.10.2-6-g49f6