Tweaks to Xcode project settings
* Made certain that the result would be a module * Removed an unnecessary #include that caused errors when included in a project
This commit is contained in:
@@ -486,11 +486,12 @@ if (IN_XCODE)
|
||||
set_target_properties(${XCODE_FRAMEWORK_NAME} PROPERTIES
|
||||
FRAMEWORK TRUE
|
||||
FRAMEWORK_VERSION A
|
||||
DEFINES_MODULE TRUE
|
||||
XCODE_ATTRIBUTE_DEFINES_MODULE TRUE
|
||||
MACOSX_FRAMEWORK_IDENTIFIER com.cmake.${XCODE_FRAMEWORK_NAME}
|
||||
MODULEMAP_FILE "${PROJ_DIR}/ports/module.modulemap"
|
||||
XCODE_ATTRIBUTE_MODULEMAP_FILE "${PROJ_DIR}/ports/module.modulemap"
|
||||
PUBLIC_HEADER "${frameworkHeaderGlob}"
|
||||
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "iPhone Developer"
|
||||
XCODE_ATTRIBUTE_CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES TRUE
|
||||
)
|
||||
endif ()
|
||||
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
#ifndef ZT_SOCKETS_H
|
||||
#define ZT_SOCKETS_H
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#ifndef ssize_t
|
||||
// TODO: Should be SSIZE_T, would require lwIP patch
|
||||
|
||||
Reference in New Issue
Block a user