fix build with XCode 4.3
- avoid use of FlatCarbon headers - remove sysroot/syslibroot - fix gemspec files attribute
This commit is contained in:
1 parent
edf041dc7a
commit
965051cdcf
7 files changed
+8
-36
No files matched your search
@@ -40,7 +40,6 @@ IF(CMAKE_SYSTEM_NAME MATCHES "(Darwin|FreeBSD)")
|
||||
|
||||
INCLUDE_DIRECTORIES(os/darwin/)
|
||||
IF(CMAKE_SYSTEM_NAME MATCHES "(Darwin)")
|
||||
INCLUDE_DIRECTORIES(/Developer/Headers/FlatCarbon/)
|
||||
ADD_DEFINITIONS(-DDARWIN)
|
||||
SET(SIGAR_LINK_FLAGS "-framework CoreServices -framework IOKit")
|
||||
ELSE(CMAKE_SYSTEM_NAME MATCHES "(Darwin)")
|
||||
|
||||
@@ -50,8 +50,7 @@
|
||||
#endif
|
||||
#include <mach-o/dyld.h>
|
||||
#define __OPENTRANSPORTPROVIDERS__
|
||||
#include <Gestalt.h>
|
||||
#include <CFString.h>
|
||||
#include <CoreServices/CoreServices.h>
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#include <IOKit/IOBSD.h>
|
||||
#include <IOKit/IOKitLib.h>
|
||||
|
||||
Reference in new issue
Block a user