mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	 2a00a6bfca
			
		
	
	
		2a00a6bfca
		
			
		
	
	
	
	
		
			
			It's possible to link against system zlib on Linux, so we should use system paths.
(cherry picked from commit 93b7406138)
		
	
			
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			565 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			565 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| #!/usr/bin/env python
 | |
| 
 | |
| Import("env")
 | |
| Import("env_modules")
 | |
| 
 | |
| env_fbx = env_modules.Clone()
 | |
| 
 | |
| # Make includes relative to the folder path specified here so our includes are clean
 | |
| env_fbx.Prepend(CPPPATH=["#modules/fbx/"])
 | |
| 
 | |
| if env["builtin_zlib"]:
 | |
|     env_fbx.Prepend(CPPPATH=["#thirdparty/zlib/"])
 | |
| 
 | |
| # Godot's own source files
 | |
| env_fbx.add_source_files(env.modules_sources, "tools/*.cpp")
 | |
| env_fbx.add_source_files(env.modules_sources, "data/*.cpp")
 | |
| env_fbx.add_source_files(env.modules_sources, "fbx_parser/*.cpp")
 | |
| env_fbx.add_source_files(env.modules_sources, "*.cpp")
 |