* Set the subsystem version as 5.01 for recent MSVC toolchains.

svn path=/trunk/; revision=59896
This commit is contained in:
Amine Khaldi 2013-08-30 10:09:56 +00:00
parent 7fc15017b3
commit fbf42a5901

View file

@ -104,7 +104,7 @@ endfunction()
function(set_subsystem MODULE SUBSYSTEM)
if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 17)
add_target_link_flags(${MODULE} "/SUBSYSTEM:${SUBSYSTEM},5.0")
add_target_link_flags(${MODULE} "/SUBSYSTEM:${SUBSYSTEM},5.01")
else()
add_target_link_flags(${MODULE} "/SUBSYSTEM:${SUBSYSTEM}")
endif()