mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-11-03 13:11:20 -05:00 
			
		
		
		
	Fix build failure when Qt Location is not available
Adds parenthesis to fix the precedence in the existing test and adds another condition that makes the presence of Qt Location actually optional like in the top level CMakeLists.txt
This commit is contained in:
		
							parent
							
								
									3795b72855
								
							
						
					
					
						commit
						db4d07e59a
					
				@ -13,7 +13,7 @@ else()
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
# WebEngine on Qt5, WebEngineCore on Qt6
 | 
			
		||||
if(ENABLE_FEATURE_SKYMAP AND Qt${QT_DEFAULT_MAJOR_VERSION}WebEngine_FOUND OR Qt${QT_DEFAULT_MAJOR_VERSION}WebEngineCore_FOUND)
 | 
			
		||||
if(ENABLE_FEATURE_SKYMAP AND (Qt${QT_DEFAULT_MAJOR_VERSION}WebEngine_FOUND OR Qt${QT_DEFAULT_MAJOR_VERSION}WebEngineCore_FOUND) AND Qt${QT_DEFAULT_MAJOR_VERSION}Location_FOUND)
 | 
			
		||||
    add_subdirectory(skymap)
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user