Use ecm_set_disabled_deprecation_versions
This commit is contained in:
		
							parent
							
								
									70dc87f673
								
							
						
					
					
						commit
						b95910c086
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
					@ -23,6 +23,7 @@ include(KDEInstallDirs)
 | 
				
			||||||
include(KDECMakeSettings)
 | 
					include(KDECMakeSettings)
 | 
				
			||||||
include(KDECompilerSettings NO_POLICY_SCOPE)
 | 
					include(KDECompilerSettings NO_POLICY_SCOPE)
 | 
				
			||||||
include(ECMSetupVersion)
 | 
					include(ECMSetupVersion)
 | 
				
			||||||
 | 
					include(ECMDeprecationSettings)
 | 
				
			||||||
include(ECMGenerateHeaders)
 | 
					include(ECMGenerateHeaders)
 | 
				
			||||||
include(CMakePackageConfigHelpers)
 | 
					include(CMakePackageConfigHelpers)
 | 
				
			||||||
include(FeatureSummary)
 | 
					include(FeatureSummary)
 | 
				
			||||||
| 
						 | 
					@ -30,6 +31,7 @@ include(GenerateExportHeader)
 | 
				
			||||||
include(KDEClangFormat)
 | 
					include(KDEClangFormat)
 | 
				
			||||||
include(ECMQtDeclareLoggingCategory)
 | 
					include(ECMQtDeclareLoggingCategory)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS WaylandClient Qml)
 | 
					find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS WaylandClient Qml)
 | 
				
			||||||
if (QT_MAJOR_VERSION EQUAL "5")
 | 
					if (QT_MAJOR_VERSION EQUAL "5")
 | 
				
			||||||
    find_package(Qt5XkbCommonSupport REQUIRED PRIVATE)
 | 
					    find_package(Qt5XkbCommonSupport REQUIRED PRIVATE)
 | 
				
			||||||
| 
						 | 
					@ -53,6 +55,11 @@ ecm_setup_version(${PROJECT_VERSION} VARIABLE_PREFIX LAYERSHELLQT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h)
 | 
					file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h)
 | 
				
			||||||
kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES})
 | 
					kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ecm_set_disabled_deprecation_versions(QT 5.15.2
 | 
				
			||||||
 | 
					    KF 5.101
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
add_subdirectory(src)
 | 
					add_subdirectory(src)
 | 
				
			||||||
add_subdirectory(tests)
 | 
					add_subdirectory(tests)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue