meson: remove deprecated 'copy' key argument in config_file
This commit is contained in:
parent
44b009c129
commit
8beff7c4a1
|
@ -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
|
||||
)
|
Loading…
Reference in New Issue