mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 14:08:22 +00:00
[CMAKE] The /SUBSYSTEM flag takes uppercase parameters.
svn path=/trunk/; revision=67689
This commit is contained in:
parent
7af59d2927
commit
abebbac08d
1 changed files with 3 additions and 2 deletions
|
@ -210,10 +210,11 @@ function(set_entrypoint _module _entrypoint)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
function(set_subsystem MODULE SUBSYSTEM)
|
function(set_subsystem MODULE SUBSYSTEM)
|
||||||
|
string(TOUPPER ${SUBSYSTEM} _subsystem)
|
||||||
if(ARCH STREQUAL "amd64")
|
if(ARCH STREQUAL "amd64")
|
||||||
add_target_link_flags(${MODULE} "/SUBSYSTEM:${SUBSYSTEM},5.02")
|
add_target_link_flags(${MODULE} "/SUBSYSTEM:${_subsystem},5.02")
|
||||||
else()
|
else()
|
||||||
add_target_link_flags(${MODULE} "/SUBSYSTEM:${SUBSYSTEM},5.01")
|
add_target_link_flags(${MODULE} "/SUBSYSTEM:${_subsystem},5.01")
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue