mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
disable modules
This commit is contained in:
parent
44d0e19c71
commit
497bf58d32
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user