forked from qt-creator/qt-creator
		
	CMake build system: Depend QmlProjectManager tests on configuration
Don't build QmlProjectManager tests if the QmlProjectManager plugin is disbled in the configuration. Change-Id: I354a23567528d02ba9d4207202800ff0175d9a6b Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
		@@ -1,3 +1,7 @@
 | 
			
		||||
if (NOT TARGET QmlProjectManager)
 | 
			
		||||
  return()
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
get_target_property(QmlProjectManagerSources QmlProjectManager SOURCES)
 | 
			
		||||
foreach(source IN LISTS QmlProjectManagerSources)
 | 
			
		||||
  if (source MATCHES "fileformat")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user