Navigation Menu

Skip to content

Commit

Permalink
Use "x86" and "x64" for system name
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 29, 2015
1 parent 585611d commit ed3d5bd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Expand Up @@ -76,7 +76,12 @@ set(CPACK_PACKAGE_VERSION_MAJOR "${PGRN_VERSION_MAJOR}")
set(CPACK_PACKAGE_VERSION_MINOR "${PGRN_VERSION_MINOR}")
set(CPACK_PACKAGE_VERSION_PATCH "${PGRN_VERSION_MICRO}")
set(CPACK_PACKAGE_VENDOR "The PGroonga Project")
if(CMAKE_CL_64)
set(PGRN_SYSTEM_NAME "x64")
else()
set(PGRN_SYSTEM_NAME "x86")
endif()
set(CPACK_PACKAGE_FILE_NAME
"${PGRN_PROJECT_ID}-${PGRN_VERSION}-postgresql-${PGRN_POSTGRESQL_VERSION}-${CMAKE_SYSTEM_NAME}")
"${PGRN_PROJECT_ID}-${PGRN_VERSION}-postgresql-${PGRN_POSTGRESQL_VERSION}-${PGRN_SYSTEM_NAME}")

include(CPack)

0 comments on commit ed3d5bd

Please sign in to comment.