mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 20:00:38 -06:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user