Add missing REQUIRED when finding QtThemeSupport
This commit is contained in:
		
							parent
							
								
									e5af534f94
								
							
						
					
					
						commit
						18bf821e50
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								external/qt/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								external/qt/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -34,6 +34,7 @@ if (DESKTOP_APP_USE_PACKAGED)
 | 
				
			||||||
        find_library(Qt5ThemeSupport_LIBRARY
 | 
					        find_library(Qt5ThemeSupport_LIBRARY
 | 
				
			||||||
        NAMES
 | 
					        NAMES
 | 
				
			||||||
            Qt5ThemeSupport
 | 
					            Qt5ThemeSupport
 | 
				
			||||||
 | 
					        REQUIRED
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        find_path(Qt5ThemeSupport_INCLUDE_DIR
 | 
					        find_path(Qt5ThemeSupport_INCLUDE_DIR
 | 
				
			||||||
| 
						 | 
					@ -43,6 +44,7 @@ if (DESKTOP_APP_USE_PACKAGED)
 | 
				
			||||||
            ${Qt5Gui_INCLUDE_DIRS}
 | 
					            ${Qt5Gui_INCLUDE_DIRS}
 | 
				
			||||||
        PATH_SUFFIXES
 | 
					        PATH_SUFFIXES
 | 
				
			||||||
            QtThemeSupport/${Qt5Gui_VERSION}
 | 
					            QtThemeSupport/${Qt5Gui_VERSION}
 | 
				
			||||||
 | 
					        REQUIRED
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        target_link_libraries(external_qt
 | 
					        target_link_libraries(external_qt
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue