Przeglądaj źródła

BUG: Fix CTKGenerateCTKConfig.cmake

Use *_OUTPUT_DIRECTORY instead of *_OUTPUT_PATH ones
Jean-Christophe Fillion-Robin 15 lat temu
rodzic
commit
8cc75489ad

+ 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})