Author: akhaldi
Date: Wed Jan 22 22:46:30 2014
New Revision: 61756
URL:
http://svn.reactos.org/svn/reactos?rev=61756&view=rev
Log:
[CMAKE]
* Apply the 5.01 subsystem version regardless of cl version. All the supported MSVC
toolchains accept it.
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=61756…
==============================================================================
--- trunk/reactos/cmake/msvc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/msvc.cmake [iso-8859-1] Wed Jan 22 22:46:30 2014
@@ -130,14 +130,10 @@
endfunction()
function(set_subsystem MODULE SUBSYSTEM)
- if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 17)
- if(ARCH STREQUAL "amd64")
- add_target_link_flags(${MODULE} "/SUBSYSTEM:${SUBSYSTEM},5.02")
- else()
- add_target_link_flags(${MODULE} "/SUBSYSTEM:${SUBSYSTEM},5.01")
- endif()
- else()
- add_target_link_flags(${MODULE} "/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")
endif()
endfunction()