mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-29 23:10:06 +00:00 
			
		
		
		
	GL_SILENCE_DEPRECATION is required for macOS
(cherry picked from commit e0d1379423e688c27931e28aef17f4b066e8ac68)
This commit is contained in:
		
							parent
							
								
									9076772cf6
								
							
						
					
					
						commit
						9ac941686b
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -662,6 +662,11 @@ if (LINUX) | |||
|     target_compile_definitions(supercell-wx PRIVATE QT_NO_EMIT) | ||||
| endif() | ||||
| 
 | ||||
| if (APPLE) | ||||
|     target_compile_definitions(scwx-qt      PRIVATE GL_SILENCE_DEPRECATION) | ||||
|     target_compile_definitions(supercell-wx PRIVATE GL_SILENCE_DEPRECATION) | ||||
| endif() | ||||
| 
 | ||||
| target_include_directories(scwx-qt PUBLIC ${scwx-qt_SOURCE_DIR}/source | ||||
|                                           ${FTGL_INCLUDE_DIR} | ||||
|                                           ${IMGUI_INCLUDE_DIRS} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat