forked from xt-sys/exectos
Set correct image version
This commit is contained in:
parent
7f21e4f19c
commit
58527ce5cb
@ -77,8 +77,9 @@ function(set_imagebase MODULE IMAGEBASE)
|
|||||||
add_module_linker_flags(${MODULE} "/BASE:${IMAGEBASE}")
|
add_module_linker_flags(${MODULE} "/BASE:${IMAGEBASE}")
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
# This functions sets PE/COFF subsystem of the binary
|
# This functions sets PE/COFF subsystem and XTOS version of the binary
|
||||||
function(set_subsystem MODULE SUBSYSTEM)
|
function(set_subsystem MODULE SUBSYSTEM)
|
||||||
string(TOUPPER ${SUBSYSTEM} SUBSYSTEM)
|
string(TOUPPER ${SUBSYSTEM} SUBSYSTEM)
|
||||||
add_module_linker_flags(${MODULE} "/SUBSYSTEM:${SUBSYSTEM},6.03")
|
add_module_linker_flags(${MODULE} "/SUBSYSTEM:${SUBSYSTEM},6.03")
|
||||||
|
add_module_linker_flags(${MODULE} "/VERSION:6.03")
|
||||||
endfunction()
|
endfunction()
|
||||||
|
Loading…
Reference in New Issue
Block a user