diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a8a072d..ebc55eb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -183,7 +183,8 @@ ENDIF() SET(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_RPM_PACKAGE_VERSION}_${version}-${stagever}${CPACK_SYSTEM_NAME}") MESSAGE ("-- Current release version is ${CPACK_PACKAGE_FILE_NAME}") -find_file(CLIENTTOOLS_PACKAGE_FILE "hpccsystems-clienttools-community_${version}-${stagever}${CMAKE_SYSTEM_NAME}-x86_64.exe" HINTS ${CMAKE_CURRENT_BINARY_DIR}/../HPCC-Platform ) +find_file(CLIENTTOOLS_PACKAGE_FILE "hpccsystems-clienttools-community_${version}-${stagever}${CMAKE_SYSTEM_NAME}-${CPACK_RPM_PACKAGE_ARCHITECTURE}.exe" HINTS ${CMAKE_CURRENT_BINARY_DIR}/../HPCC-Platform ) +MESSAGE ("-- Clienttools package: ${CLIENTTOOLS_PACKAGE_FILE}") if (CLIENTTOOLS_PACKAGE_FILE) install ( PROGRAMS ${CLIENTTOOLS_PACKAGE_FILE} DESTINATION tmp ) get_filename_component(CLIENTTOOLS_PACKAGE_FILE_NAME ${CLIENTTOOLS_PACKAGE_FILE} NAME)