|
@@ -87,14 +87,6 @@ FOREACH(type LIBRARY RUNTIME ARCHIVE)
|
|
|
ENDFOREACH()
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
-# Install directories, used for install rules.
|
|
|
-#
|
|
|
-SET(CTK_INSTALL_BIN_DIR "bin")
|
|
|
-SET(CTK_INSTALL_LIB_DIR "lib")
|
|
|
-SET(CTK_INSTALL_INCLUDE_DIR "include")
|
|
|
-SET(CTK_INSTALL_DOC_DIR "doc")
|
|
|
-
|
|
|
-#-----------------------------------------------------------------------------
|
|
|
# CTK version number. An even minor number corresponds to releases.
|
|
|
#
|
|
|
SET(CTK_MAJOR_VERSION 0)
|
|
@@ -114,6 +106,14 @@ IF(NOT CTK_NO_LIBRARY_VERSION)
|
|
|
ENDIF()
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
+# Install directories, used for install rules.
|
|
|
+#
|
|
|
+SET(CTK_INSTALL_BIN_DIR "bin")
|
|
|
+SET(CTK_INSTALL_LIB_DIR "lib/ctk-${CTK_MAJOR_VERSION}.${CTK_MINOR_VERSION}")
|
|
|
+SET(CTK_INSTALL_INCLUDE_DIR "include/ctk-${CTK_MAJOR_VERSION}.${CTK_MINOR_VERSION}")
|
|
|
+SET(CTK_INSTALL_DOC_DIR "doc")
|
|
|
+
|
|
|
+#-----------------------------------------------------------------------------
|
|
|
# Update CMake module path
|
|
|
# Note: FindXXX.cmake script specific to utility should be copied into Utilities/CMake
|
|
|
#
|