From 30bb32d9aff0754f76cb994026f43271cbd1a2c6 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Thu, 31 Mar 2022 11:14:44 +0300 Subject: [PATCH] CMake build: List json.in files for plugins Change-Id: Ia62e267d97ff225b94fe77da37af4e8fbc5f54b7 Reviewed-by: Eike Ziller Reviewed-by: Cristian Adam --- cmake/QtCreatorAPI.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/QtCreatorAPI.cmake b/cmake/QtCreatorAPI.cmake index c4f8d1f0a6c..9e26402b6b0 100644 --- a/cmake/QtCreatorAPI.cmake +++ b/cmake/QtCreatorAPI.cmake @@ -398,6 +398,7 @@ function(add_qtc_plugin target_name) ### Configure plugin.json file: if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${name}.json.in") + list(APPEND _arg_SOURCES ${name}.json.in) file(READ "${name}.json.in" plugin_json_in) string(REPLACE "\\\"" "\"" plugin_json_in ${plugin_json_in}) string(REPLACE "\\'" "'" plugin_json_in ${plugin_json_in})