Closed segabor closed 10 years ago
Hey Gábor, thanks for this first patch! I guess that this is the proper way to include SDL2, I will check how this applies to Linux.
Although it seems that both ways actually find the headers in the Framework, Did you have any problems compiling the other way?
Hi,
AFAIK this has been the only way to refer header files in frameworks since NeXTSTEP / OPENSTEP unless Headers folder is added explicitly to include path. See Apple's doc on this.
And yes when I opened the project in Xcode first time all SDL references broke at once. Perhaps your project does refer to SDL headers directly. Years of coding in ObjC told me what to do :)
yes, you are right, I added the SDL2 Framework to the XCode include path, so I never noticed ;) thanks for the heads up, I'll include your patch and will fix that also for the other platforms. cheers, Martin.K
This changeset fixes SDL includes in OSX so Xcode will find SDL headers in SDL2 framework.