[Groonga-commit] pgroonga/pgroonga at ed3d5bd [master] Use "x86" and "x64" for system name

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Wed Apr 29 12:29:01 JST 2015


Kouhei Sutou	2015-04-29 12:29:01 +0900 (Wed, 29 Apr 2015)

  New Revision: ed3d5bdd6e041a3a13c59f482113d7bef5e41aac
  https://github.com/pgroonga/pgroonga/commit/ed3d5bdd6e041a3a13c59f482113d7bef5e41aac

  Message:
    Use "x86" and "x64" for system name

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+6 -1)
===================================================================
--- CMakeLists.txt    2015-04-29 12:28:06 +0900 (c5981b9)
+++ CMakeLists.txt    2015-04-29 12:29:01 +0900 (232367e)
@@ -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)
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る