kde/kf6-extra-cmake-modules: rebase to 6.28.0 (ECM) + teach version parser set(VERSION)
kf6-kcoreaddons 6.28.0 requires ECM >= 6.28.0 but the vendored ECM source/ was still 6.10.0: the sync engine skipped it because ECM's version marker is a bare set(VERSION "X.Y.Z") that the parser didn't recognize (only KF_VERSION / PROJECT_VERSION / RELEASE_SERVICE_VERSION). Re-lay ECM from its 6.28.0 source.tar (pure cmake modules, no Redox port) and teach both the sync engine and the validator to read set(VERSION) so this class is caught, not silently skipped.
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
|
||||
# Qt 5 implementation of ECMQmlModule
|
||||
|
||||
cmake_policy(VERSION 3.16)
|
||||
|
||||
set(_ECM_QMLMODULE_STATIC_QMLONLY_H "${CMAKE_CURRENT_LIST_DIR}/ECMQmlModule.h.in")
|
||||
set(_ECM_QMLMODULE_STATIC_QMLONLY_CPP "${CMAKE_CURRENT_LIST_DIR}/ECMQmlModule.cpp.in")
|
||||
|
||||
@@ -333,7 +335,7 @@ function(ecm_finalize_qml_module ARG_TARGET)
|
||||
WORKING_DIRECTORY ${_runtime_output_dir}
|
||||
COMMAND ${CMAKE_COMMAND} -E make_directory ${_file_path}
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${_file} ${_file_path}
|
||||
BYPRODUCTS ${_file_path}/${_filename}
|
||||
BYPRODUCTS ${_runtime_output_dir}/${_file_path}/${_filename}
|
||||
)
|
||||
endforeach()
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user