Просмотр исходного кода

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
Родитель
Сommit
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.
   get_filename_component(MY_SOURCE_DIR ${MY_SOURCE_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(copied_python_files)