mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Fix cmake for macOS build
This commit is contained in:
		| @@ -61,6 +61,7 @@ option(ENABLE_GITVERSION "Enable Version.cpp with Git commit hash" ON) | ||||
| option(ENABLE_DEBUG_CONSOLE "Enable debug console for Windows builds" ON) | ||||
| option(ENABLE_MULTI_PROCESS_BUILDS "Enable /MP flag for MSVS solution" ON) | ||||
| option(ENABLE_SINGLE_APP_BUILD "Builds client and server as single executable" OFF) | ||||
| option(COPY_CONFIG_ON_BUILD "Copies config folder into output directory at building phase" ON) | ||||
|  | ||||
| # Used for Snap packages and also useful for debugging | ||||
| if(NOT APPLE_IOS) | ||||
| @@ -80,8 +81,8 @@ if(ENABLE_ERM AND NOT ENABLE_LUA) | ||||
| 	set(ENABLE_LUA ON) | ||||
| endif() | ||||
|  | ||||
| # We want to deploy assets into build directory for easier debugging without install | ||||
| if(NOT APPLE_IOS AND NOT COPY_CONFIG_ON_BUILD) | ||||
| # We don't want to deploy assets into build directory for iOS build | ||||
| if(APPLE_IOS AND COPY_CONFIG_ON_BUILD) | ||||
| 	set(COPY_CONFIG_ON_BUILD OFF) | ||||
| endif() | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user