diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-06-27 15:17:26 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2019-06-27 15:18:02 +0200 |
commit | dc11aab9b38ab8c7ea95be6306fe09a1f4269288 (patch) | |
tree | 2109805f773d71a113eb37a68fa0c1e7384bfc98 /win | |
parent | 92feac53a649f39f81d10c8d0ea0353e7b3d8b92 (diff) | |
download | mariadb-git-dc11aab9b38ab8c7ea95be6306fe09a1f4269288.tar.gz |
MDEV-19889 In CMakeLists.txt, use ${CMAKE_CPACK_COMMAND},rather than just cpack
Diffstat (limited to 'win')
-rw-r--r-- | win/packaging/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/packaging/CMakeLists.txt b/win/packaging/CMakeLists.txt index 6cd1dc225c8..130f74118ca 100644 --- a/win/packaging/CMakeLists.txt +++ b/win/packaging/CMakeLists.txt @@ -214,8 +214,8 @@ ENDIF() ADD_CUSTOM_TARGET( win_package ${SIGN_COMMAND} - COMMAND cpack ${CPACK_CONFIG_PARAM} --config ${CMAKE_CURRENT_SOURCE_DIR}/CPackZipConfig.cmake - COMMAND cpack ${CPACK_CONFIG_PARAM} --config ${CMAKE_CURRENT_SOURCE_DIR}/CPackZipDebugInfoConfig.cmake + COMMAND ${CMAKE_CPACK_COMMAND} ${CPACK_CONFIG_PARAM} --config ${CMAKE_CURRENT_SOURCE_DIR}/CPackZipConfig.cmake + COMMAND ${CMAKE_CPACK_COMMAND} ${CPACK_CONFIG_PARAM} --config ${CMAKE_CURRENT_SOURCE_DIR}/CPackZipDebugInfoConfig.cmake WORKING_DIRECTORY ${CMAKE_BINARY_DIR} ) |