mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
disable modules
This commit is contained in:
@@ -243,10 +243,6 @@ endif()
|
||||
if(APPLE_IOS)
|
||||
set(CMAKE_XCODE_ATTRIBUTE_TARGETED_DEVICE_FAMILY "1,2") # iPhone + iPad
|
||||
set(CMAKE_XCODE_ATTRIBUTE_GCC_WARN_64_TO_32_BIT_CONVERSION "NO")
|
||||
|
||||
# TODO: also enable for macOS
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fmodules")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fmodules")
|
||||
endif(APPLE_IOS)
|
||||
|
||||
# Check if some platform-specific libraries are needed for linking
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
#import "CIOSUtils.h"
|
||||
|
||||
@import Foundation;
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
static NSString *standardPathNative(NSSearchPathDirectory directory)
|
||||
{
|
||||
|
Reference in New Issue
Block a user