浏览代码

ctkMacroCompilePythonScript - Do not convert INSTALL_DIR to a absolute path

Doing so will prepend the current directory to the relative path passed
to the macro and will install the files at the wrong location.
Jean-Christophe Fillion-Robin 13 年之前
父节点
当前提交
771977ec5c
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      CMake/ctkMacroCompilePythonScript.cmake

+ 0 - 1
CMake/ctkMacroCompilePythonScript.cmake

@@ -36,7 +36,6 @@ MACRO(ctkMacroCompilePythonScript)
   # consecutive slashes. Let's make sure there are no trailing slashes.
   # consecutive slashes. Let's make sure there are no trailing slashes.
   get_filename_component(MY_SOURCE_DIR ${MY_SOURCE_DIR} REALPATH)
   get_filename_component(MY_SOURCE_DIR ${MY_SOURCE_DIR} REALPATH)
   get_filename_component(MY_DESTINATION_DIR ${MY_DESTINATION_DIR} REALPATH)
   get_filename_component(MY_DESTINATION_DIR ${MY_DESTINATION_DIR} REALPATH)
-  get_filename_component(MY_INSTALL_DIR ${MY_INSTALL_DIR} REALPATH)
 
 
   SET(input_python_files)
   SET(input_python_files)
   SET(copied_python_files)
   SET(copied_python_files)