diff options
author | Brad King <brad.king@kitware.com> | 2018-06-29 13:01:46 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-06-29 13:01:52 (GMT) |
commit | aa8fe65cd7cf5bcea9ddd8fc9ea7801dd720a7eb (patch) | |
tree | 3eb63b28bdb8755213ee33f85879e6ae813f9aa0 | |
parent | 683e1290907278b02c8940e710367d25a5f4870b (diff) | |
parent | 611ad194991950ed32189d7314bdbb6cb7cc673b (diff) | |
download | CMake-aa8fe65cd7cf5bcea9ddd8fc9ea7801dd720a7eb.zip CMake-aa8fe65cd7cf5bcea9ddd8fc9ea7801dd720a7eb.tar.gz CMake-aa8fe65cd7cf5bcea9ddd8fc9ea7801dd720a7eb.tar.bz2 |
Merge topic 'cpackrpm-cmake_command'
611ad19499 CPack/RPM: Use CMAKE_COMMAND to reference cmake executable
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2168
-rw-r--r-- | Modules/Internal/CPack/CPackRPM.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Internal/CPack/CPackRPM.cmake b/Modules/Internal/CPack/CPackRPM.cmake index d044f05..06298d7 100644 --- a/Modules/Internal/CPack/CPackRPM.cmake +++ b/Modules/Internal/CPack/CPackRPM.cmake @@ -1525,7 +1525,7 @@ ${TMP_DEBUGINFO_ADDITIONAL_SOURCES} %build mkdir cpack_rpm_build_dir cd cpack_rpm_build_dir -cmake ${CPACK_RPM_SOURCE_PKG_BUILD_PARAMS} -DCPACK_PACKAGING_INSTALL_PREFIX=${CPACK_RPM_SOURCE_PKG_PACKAGING_INSTALL_PREFIX} ../${CPACK_PACKAGE_FILE_NAME} +'${CMAKE_COMMAND}' ${CPACK_RPM_SOURCE_PKG_BUILD_PARAMS} -DCPACK_PACKAGING_INSTALL_PREFIX=${CPACK_RPM_SOURCE_PKG_PACKAGING_INSTALL_PREFIX} ../${CPACK_PACKAGE_FILE_NAME} make %{?_smp_mflags}" # %{?_smp_mflags} -> -j option ) set(TMP_RPM_INSTALL |