浏览代码

BUG: Fix CTKGenerateCTKConfig.cmake

Use *_OUTPUT_DIRECTORY instead of *_OUTPUT_PATH ones
Jean-Christophe Fillion-Robin 15 年之前
父节点
当前提交
8cc75489ad
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Utilities/LastConfigureStep/CTKGenerateCTKConfig.cmake

+ 3 - 3
Utilities/LastConfigureStep/CTKGenerateCTKConfig.cmake

@@ -30,13 +30,13 @@ SET(CTK_CONFIG_INSTALL_ONLY)
 SET(CTK_USE_FILE ${CTK_SUPERBUILD_BINARY_DIR}/UseCTK.cmake)
 
 # Library directory.
-SET(CTK_LIBRARY_DIRS_CONFIG ${LIBRARY_OUTPUT_PATH})
+SET(CTK_LIBRARY_DIRS_CONFIG ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
 
 # Runtime library directory.
-SET(CTK_RUNTIME_LIBRARY_DIRS_CONFIG ${LIBRARY_OUTPUT_PATH})
+SET(CTK_RUNTIME_LIBRARY_DIRS_CONFIG ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
 
 # Binary executable directory.
-SET(CTK_EXECUTABLE_DIRS_CONFIG ${EXECUTABLE_OUTPUT_PATH})
+SET(CTK_EXECUTABLE_DIRS_CONFIG ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
 
 # QtDesigner plugins directory
 SET(CTK_QTDESIGNERPLUGINS_DIR_CONFIG ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})