Skip to content

Commit

Permalink
Bug,解决CMake下无法使用WindowsTargetPlatformMinVersion开启XP模式
Browse files Browse the repository at this point in the history
  • Loading branch information
mingkuang-Chuyu committed May 10, 2023
1 parent 9681c98 commit 16726c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ if(${SupportLTL} STREQUAL "true")
set(LTLWindowsTargetPlatformMinVersion "6.2.9200.0")
elseif(${LTLPlatform} STREQUAL "arm")
set(LTLWindowsTargetPlatformMinVersion "6.2.9200.0")
elseif(NOT ${SupportWinXP} STREQUAL "true")
elseif(NOT ${WindowsTargetPlatformMinVersion} VERSION_LESS 6.0.6000.0)
set(LTLWindowsTargetPlatformMinVersion "6.0.6000.0")
elseif(${LTLPlatform} STREQUAL "x64")
set(LTLWindowsTargetPlatformMinVersion "5.2.3790.0")
Expand Down

0 comments on commit 16726c9

Please sign in to comment.