Parcourir la source

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 il y a 14 ans
Parent
commit
b6550db5bc
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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})