Can you please also add an approproate value for ARM (I guess win8)? :)
Am 12.05.2015 um 14:18 schrieb akhaldi(a)svn.reactos.org:
Author: akhaldi
Date: Tue May 12 12:18:02 2015
New Revision: 67689
URL:
http://svn.reactos.org/svn/reactos?rev=67689&view=rev
Log:
[CMAKE] The /SUBSYSTEM flag takes uppercase parameters.
Modified:
trunk/reactos/cmake/msvc.cmake
Modified: trunk/reactos/cmake/msvc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/msvc.cmake?rev=67689…
==============================================================================
--- trunk/reactos/cmake/msvc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/msvc.cmake [iso-8859-1] Tue May 12 12:18:02 2015
@@ -210,10 +210,11 @@
endfunction()
function(set_subsystem MODULE SUBSYSTEM)
+ string(TOUPPER ${SUBSYSTEM} _subsystem)
if(ARCH STREQUAL "amd64")
- add_target_link_flags(${MODULE} "/SUBSYSTEM:${SUBSYSTEM},5.02")
- else()
- add_target_link_flags(${MODULE} "/SUBSYSTEM:${SUBSYSTEM},5.01")
+ add_target_link_flags(${MODULE} "/SUBSYSTEM:${_subsystem},5.02")
+ else()
+ add_target_link_flags(${MODULE} "/SUBSYSTEM:${_subsystem},5.01")
endif()
endfunction()