mirror of
https://github.com/reactos/CMake.git
synced 2024-11-27 21:41:03 +00:00
CPackRPM do not run test if build dir contains space
This commit is contained in:
parent
e4d4dfc6ef
commit
dc9965f9a0
@ -566,9 +566,9 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||
set(CPackRun_CPackCommand "-DCPackCommand=${CMAKE_CPACK_COMMAND}")
|
||||
# set up list of CPack generators
|
||||
list(APPEND GENLST "ZIP")
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT CMAKE_CURRENT_BINARY_DIR MATCHES ".* .*")
|
||||
find_program(RPMBUILD NAMES rpmbuild)
|
||||
endif(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
endif(CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT CMAKE_CURRENT_BINARY_DIR MATCHES ".* .*")
|
||||
if (RPMBUILD)
|
||||
list(APPEND GENLST "RPM")
|
||||
endif(RPMBUILD)
|
||||
|
Loading…
Reference in New Issue
Block a user