1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

disable modules

This commit is contained in:
Andrey Filipenkov 2021-03-21 17:30:46 +03:00
parent 44d0e19c71
commit 497bf58d32
2 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -10,7 +10,7 @@
#import "CIOSUtils.h"
@import Foundation;
#import <Foundation/Foundation.h>
static NSString *standardPathNative(NSSearchPathDirectory directory)
{