From 8beff7c4a141c038b31cf2980be9f24bd6f6b9b6 Mon Sep 17 00:00:00 2001 From: dimmus Date: Tue, 5 Dec 2023 17:43:30 +0500 Subject: [PATCH] meson: remove deprecated 'copy' key argument in config_file --- cmakeconfig/meson.build | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/cmakeconfig/meson.build b/cmakeconfig/meson.build index 6140375a87..ba086ead34 100644 --- a/cmakeconfig/meson.build +++ b/cmakeconfig/meson.build @@ -1,4 +1,3 @@ - cmake_src = [ 'Ecore', 'EcoreCxx', @@ -39,21 +38,21 @@ foreach cmake_file : cmake_src input: cmake_file+'Config.cmake.in', output: cmake_file+'Config.cmake', install_dir: join_paths(dir_lib, 'cmake', cmake_file), - copy: true, + configuration : conf ) if cmake_version_src.contains(cmake_src) configure_file( input: cmake_version_file+'ConfigVersion.cmake.in', output: cmake_version_file+'ConfigVersion.cmake', install_dir: join_paths(dir_lib, 'cmake', cmake_version_file), - configuration : conf, + configuration : conf ) else configure_file( input: 'EflConfigVersion.cmake.in', output: cmake_file+'ConfigVersion.cmake', install_dir: join_paths(dir_lib, 'cmake', cmake_file), - configuration : conf, + configuration : conf ) endif endforeach @@ -62,5 +61,5 @@ configure_file( input: 'EolianHelper.cmake.in', output: 'EolianHelper.cmake', install_dir: join_paths(dir_lib, 'cmake', 'Eolian'), - copy: true -) + configuration : conf +) \ No newline at end of file