瀏覽代碼

FIX: PluginFramework: Fix changed variable behavior due to changing
the macro to a function.

Sascha Zelzer 14 年之前
父節點
當前提交
2fa7637202
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      CMake/ctkFunctionGeneratePluginManifest.cmake

+ 3 - 1
CMake/ctkFunctionGeneratePluginManifest.cmake

@@ -88,6 +88,8 @@ FUNCTION(ctkFunctionGeneratePluginManifest QRC_SRCS)
   FILE(WRITE "${_manifest_filepath}" "${_manifest_content}")
   FILE(WRITE "${_manifest_qrc_filepath}" "${_manifest_qrc_content}")
 
-  QT4_ADD_RESOURCES(${QRC_SRCS} ${_manifest_qrc_filepath})
+  QT4_ADD_RESOURCES(_qrc_src ${_manifest_qrc_filepath})
+
+  SET(${QRC_SRCS} ${${QRC_SRCS}} ${_qrc_src} PARENT_SCOPE)
 
 ENDFUNCTION()