mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 17:28:31 +00:00
[CMAKE]
* Fix unix build. We need to quote the file paths in reactos.dff for cabman to parse them correctly. Dedicated to Arty. svn path=/branches/cmake-bringup/; revision=52085
This commit is contained in:
parent
f30b8067cf
commit
90e7802e04
1 changed files with 5 additions and 1 deletions
|
@ -150,7 +150,11 @@ function(add_cd_file)
|
||||||
else()
|
else()
|
||||||
#add it in reactos.cab
|
#add it in reactos.cab
|
||||||
dir_to_num(${_CD_DESTINATION} _num)
|
dir_to_num(${_CD_DESTINATION} _num)
|
||||||
|
if(CMAKE_HOST_SYSTEM_NAME MATCHES Windows)
|
||||||
file(APPEND ${REACTOS_BINARY_DIR}/boot/bootdata/packages/reactos.dff.dyn "${_CD_FILE} ${_num}\n")
|
file(APPEND ${REACTOS_BINARY_DIR}/boot/bootdata/packages/reactos.dff.dyn "${_CD_FILE} ${_num}\n")
|
||||||
|
else()
|
||||||
|
file(APPEND ${REACTOS_BINARY_DIR}/boot/bootdata/packages/reactos.dff.dyn "\"${_CD_FILE}\" ${_num}\n")
|
||||||
|
endif()
|
||||||
if(_CD_TARGET)
|
if(_CD_TARGET)
|
||||||
#manage dependency
|
#manage dependency
|
||||||
add_dependencies(reactos_cab ${_CD_TARGET})
|
add_dependencies(reactos_cab ${_CD_TARGET})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue