diff options
author | Rolf Eike Beer <eb@emlix.com> | 2018-06-06 16:01:20 +0200 |
---|---|---|
committer | Rolf Eike Beer <eb@emlix.com> | 2018-06-08 07:26:10 +0000 |
commit | 8735ff6499f4ef93675a9e8158af77461f6e93bc (patch) | |
tree | bcb0d377bd8e86d0fd6bb0bc26647dcba8e09903 /tools/qmlcachegen | |
parent | 14c64a5b53b23d3caf7d8f603cac6ebc05f4186f (diff) |
CMake: replace deprecated exec_program() with execute_process()
Change-Id: Ic3fc1a59703c11aab17529d4b0e92789e4650ca7
Reviewed-by: Kevin Funk <kevin.funk@kdab.com>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tools/qmlcachegen')
-rw-r--r-- | tools/qmlcachegen/Qt5QuickCompilerConfig.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake b/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake index 56cb3fb55e..16f8beece0 100644 --- a/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake +++ b/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake @@ -44,7 +44,7 @@ function(QTQUICK_COMPILER_ADD_RESOURCES outfiles) set(rcc_file_with_compilation_units) - exec_program(${rcc_path} ARGS -list \"${input_resource}\" OUTPUT_VARIABLE rcc_contents) + execute_process(COMMAND ${rcc_path} -list \"${input_resource}\" OUTPUT_VARIABLE rcc_contents) string(REGEX REPLACE "[\r\n]+" ";" rcc_contents ${rcc_contents}) foreach(it ${rcc_contents}) get_filename_component(extension ${it} EXT) |