Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HIllya51 authored and mingkuang-Chuyu committed Nov 19, 2024
1 parent 7a4f998 commit 35ba201
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions VC-LTL helper for cmake.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#控制TargetPlatform版本,目前可用版本为5.1.2600.0 6.0.6000.0(默认) 6.2.9200.0 10.0.10240.0 10.0.19041.0
#set(WindowsTargetPlatformMinVersion "10.0.10240.0")

#开启后 include_directories/target_link_directories 额外追加 `INTERFACE` 参数
option(VC_LTL_EnableCMakeInterface "VC_LTL_EnableCMakeInterface" OFF)
####################################################################################################################################################
Expand Down Expand Up @@ -82,7 +83,5 @@ if(NOT VC_LTL_Root)
endif()

if(VC_LTL_Root)
if(EXISTS "${VC_LTL_Root}\\config\\config.cmake")
include("${VC_LTL_Root}\\config\\config.cmake")
endif()
include("${VC_LTL_Root}\\config\\config.cmake")
endif()

0 comments on commit 35ba201

Please sign in to comment.