|
@@ -15,14 +15,14 @@ SET(CTK_BUILD_SHARED_LIBS TRUE)
|
|
|
#-----------------------------------------------------------------------------
|
|
|
# Output directories.
|
|
|
#
|
|
|
-IF(NOT LIBRARY_OUTPUT_PATH)
|
|
|
- SET(LIBRARY_OUTPUT_PATH ${CTK_BINARY_DIR}/bin CACHE INTERNAL "Single output directory for building all libraries.")
|
|
|
-ENDIF(NOT LIBRARY_OUTPUT_PATH)
|
|
|
-IF(NOT EXECUTABLE_OUTPUT_PATH)
|
|
|
- SET(EXECUTABLE_OUTPUT_PATH ${CTK_BINARY_DIR}/bin CACHE INTERNAL "Single output directory for building all executables.")
|
|
|
-ENDIF(NOT EXECUTABLE_OUTPUT_PATH)
|
|
|
-SET(CTK_LIBRARY_PATH ${LIBRARY_OUTPUT_PATH}/${CMAKE_CFG_INTDIR})
|
|
|
-SET(CTK_EXECUTABLE_PATH ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR})
|
|
|
+IF(NOT CMAKE_LIBRARY_OUTPUT_DIRECTORY)
|
|
|
+ SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CTK_BINARY_DIR}/bin CACHE INTERNAL "Single output directory for building all libraries.")
|
|
|
+ENDIF()
|
|
|
+IF(NOT CMAKE_RUNTIME_OUTPUT_DIRECTORY)
|
|
|
+ SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CTK_BINARY_DIR}/bin CACHE INTERNAL "Single output directory for building all libraries.")
|
|
|
+ENDIF()
|
|
|
+#SET(CTK_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${CMAKE_CFG_INTDIR})
|
|
|
+#SET(CTK_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${CMAKE_CFG_INTDIR})
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
# Install directories, used for install rules.
|