浏览代码

Use CTK_CMAKE_DIR instead of CTK_SOURCE_DIR

In case of external projects using this macro, CTK_SOURCE_DIR would
not be defined.
Sascha Zelzer 14 年之前
父节点
当前提交
b6550db5bc
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      CMake/ctkFunctionGeneratePluginManifest.cmake

+ 2 - 2
CMake/ctkFunctionGeneratePluginManifest.cmake

@@ -93,8 +93,8 @@ FUNCTION(ctkFunctionGeneratePluginManifest QRC_SRCS)
 </RCC>
 ")
 
-  CONFIGURE_FILE("${CTK_SOURCE_DIR}/CMake/MANIFEST.MF.in" "${_manifest_filepath}" @ONLY)
-  CONFIGURE_FILE("${CTK_SOURCE_DIR}/CMake/plugin_manifest.qrc.in" "${_manifest_qrc_filepath}" @ONLY)
+  CONFIGURE_FILE("${CTK_CMAKE_DIR}/MANIFEST.MF.in" "${_manifest_filepath}" @ONLY)
+  CONFIGURE_FILE("${CTK_CMAKE_DIR}/plugin_manifest.qrc.in" "${_manifest_qrc_filepath}" @ONLY)
 
   QT4_ADD_RESOURCES(_qrc_src ${_manifest_qrc_filepath})