Fix build with CMP0048 set to NEW
This commit is contained in:
parent
5a0d0c103a
commit
ad1b0beff8
@ -1,6 +1,8 @@
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
|
||||
project(Plasma)
|
||||
set(KF5_VERSION "5.30.0") # handled by release scripts
|
||||
set(KF5_DEP_VERSION "5.29.0") # handled by release scripts
|
||||
project(Plasma VERSION ${KF5_VERSION})
|
||||
|
||||
# ECM setup
|
||||
include(FeatureSummary)
|
||||
@ -21,10 +23,7 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
|
||||
include(ECMQtDeclareLoggingCategory)
|
||||
include(KDEPackageAppTemplates)
|
||||
|
||||
set(KF5_VERSION "5.30.0") # handled by release scripts
|
||||
set(KF5_DEP_VERSION "5.29.0") # handled by release scripts
|
||||
|
||||
ecm_setup_version(${KF5_VERSION}
|
||||
ecm_setup_version(PROJECT
|
||||
VARIABLE_PREFIX PLASMA
|
||||
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/plasma_version.h"
|
||||
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5PlasmaConfigVersion.cmake"
|
||||
|
Loading…
Reference in New Issue
Block a user