ソースを参照

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()