mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 20:56:39 +00:00 
			
		
		
		
	Change in CMakeLists.txt for OS X due to changed ogre plugin path variable name
This commit is contained in:
		
							parent
							
								
									52dd5ab213
								
							
						
					
					
						commit
						6325697bfe
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		|  | @ -255,6 +255,19 @@ if (APPLE) | |||
|         "${APP_BUNDLE_DIR}/Contents/Resources/OpenMW.icns" COPYONLY) | ||||
| 
 | ||||
|     # prepare plugins | ||||
|     if (${CMAKE_BUILD_TYPE} MATCHES "Release") | ||||
|         set(OPENMW_RELEASE_BUILD 1) | ||||
|     endif() | ||||
|     if (${CMAKE_BUILD_TYPE} MATCHES "RelWithDebugInfo") | ||||
|         set(OPENMW_RELEASE_BUILD 1) | ||||
|     endif() | ||||
| 
 | ||||
|     if (${OPENMW_RELEASE_BUILD}) | ||||
|         set(OGRE_PLUGIN_DIR ${OGRE_PLUGIN_DIR_REL}) | ||||
|     else() | ||||
|         set(OGRE_PLUGIN_DIR ${OGRE_PLUGIN_DIR_DBG}) | ||||
|     endif() | ||||
| 
 | ||||
|     foreach(plugin ${USED_OGRE_PLUGINS}) | ||||
|         configure_file("${OGRE_PLUGIN_DIR}/${plugin}.dylib" | ||||
|                         "${APP_BUNDLE_DIR}/Contents/Plugins/${plugin}.dylib" | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue