mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:36:21 +00:00
[CMAKE]
* Fix cab creation on unix. svn path=/trunk/; revision=52093
This commit is contained in:
parent
768cc14b79
commit
30fac98374
1 changed files with 5 additions and 1 deletions
|
@ -150,7 +150,11 @@ function(add_cd_file)
|
|||
else()
|
||||
#add it in reactos.cab
|
||||
dir_to_num(${_CD_DESTINATION} _num)
|
||||
file(APPEND ${REACTOS_BINARY_DIR}/boot/bootdata/packages/reactos.dff.dyn "${_CD_FILE} ${_num}\n")
|
||||
if(CMAKE_HOST_SYSTEM_NAME MATCHES Windows)
|
||||
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)
|
||||
#manage dependency
|
||||
add_dependencies(reactos_cab ${_CD_TARGET})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue