mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 01:05:48 +01:00 
			
		
		
		
	Fix build if BUILD_SHARED_LIBS defaults to "ON"
openSUSE sets that option to ON. Fixes #3420.
This commit is contained in:
		
				
					committed by
					
						
						est31
					
				
			
			
				
	
			
			
			
						parent
						
							89168a7ec8
						
					
				
				
					commit
					d8975eabf9
				
			@@ -2,7 +2,7 @@
 | 
			
		||||
#   Do not add CGUITTFont.cpp to the line below.
 | 
			
		||||
#   xCGUITTFont.cpp is a wrapper file that includes
 | 
			
		||||
#   additional required headers.
 | 
			
		||||
add_library(cguittfont xCGUITTFont.cpp)
 | 
			
		||||
add_library(cguittfont STATIC xCGUITTFont.cpp)
 | 
			
		||||
 | 
			
		||||
if(FREETYPE_PKGCONFIG_FOUND)
 | 
			
		||||
	set_target_properties(cguittfont
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user