Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Cristian Adam
CMake
Commits
9a64e114
Commit
9a64e114
authored
Apr 18, 2006
by
Bill Hoffman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: make cpack names match old cmake release process
parent
0d57f4a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
CMakeLists.txt
CMakeLists.txt
+14
-1
No files found.
CMakeLists.txt
View file @
9a64e114
...
@@ -242,7 +242,20 @@ IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
...
@@ -242,7 +242,20 @@ IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
SET
(
CPACK_PACKAGE_VERSION_MAJOR
"
${
CMake_VERSION_MAJOR
}
"
)
SET
(
CPACK_PACKAGE_VERSION_MAJOR
"
${
CMake_VERSION_MAJOR
}
"
)
SET
(
CPACK_PACKAGE_VERSION_MINOR
"
${
CMake_VERSION_MINOR
}
"
)
SET
(
CPACK_PACKAGE_VERSION_MINOR
"
${
CMake_VERSION_MINOR
}
"
)
SET
(
CPACK_PACKAGE_VERSION_PATCH
"
${
CMake_VERSION_PATCH
}
"
)
SET
(
CPACK_PACKAGE_VERSION_PATCH
"
${
CMake_VERSION_PATCH
}
"
)
SET
(
CPACK_PACKAGE_INSTALL_DIRECTORY
"CMake
${
CMake_VERSION_MAJOR
}
.
${
CMake_VERSION_MINOR
}
"
)
SET
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"cmake-
${
CMake_VERSION_MAJOR
}
.
${
CMake_VERSION_MINOR
}
.
${
CMake_VERSION_PATCH
}
"
)
SET
(
CPACK_SYSTEM_NAME
${
CMAKE_SYSTEM_NAME
}
)
IF
(
${
CMAKE_SYSTEM_NAME
}
MATCHES Windows
)
IF
(
CMAKE_CL_64
)
SET
(
CPACK_SYSTEM_NAME win64
)
ELSE
(
CMAKE_CL_64
)
SET
(
CPACK_SYSTEM_NAME win32
)
ENDIF
(
CMAKE_CL_64
)
ENDIF
(
${
CMAKE_SYSTEM_NAME
}
MATCHES Windows
)
SET
(
CPACK_PACKAGE_FILE_NAME
"
${
CPACK_SOURCE_PACKAGE_FILE_NAME
}
-
${
CPACK_SYSTEM_NAME
}
"
)
IF
(
WIN32 AND NOT UNIX
)
IF
(
WIN32 AND NOT UNIX
)
# There is a bug in NSI that does not handle full unix paths properly. Make
# There is a bug in NSI that does not handle full unix paths properly. Make
# sure there is at least one set of four (4) backlasshes.
# sure there is at least one set of four (4) backlasshes.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment