Explorar o código

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

Sascha Zelzer %!s(int64=14) %!d(string=hai) anos
pai
achega
2fa7637202
Modificáronse 1 ficheiros con 3 adicións e 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()