Explorar el Código

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

Sascha Zelzer hace 15 años
padre
commit
2fa7637202
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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()