Skip to content

Commit 3d90f44

Browse files
authored
Add toolset detection for VS 2026. (#2063)
1 parent 2a39a25 commit 3d90f44

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cmake/modules/PcapPlusPlusUtils.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ function(pcapp_detect_compiler TARGET)
2020
set(MSVC_YEAR "2019" PARENT_SCOPE)
2121
elseif(MSVC_TOOLSET_VERSION EQUAL 143)
2222
set(MSVC_YEAR "2022" PARENT_SCOPE)
23+
elseif(MSVC_TOOLSET_VERSION EQUAL 145)
24+
set(MSVC_YEAR "2026" PARENT_SCOPE)
2325
else()
2426
message(WARNING "Unsupported MSVC_TOOLSET_VERSION: ${MSVC_TOOLSET_VERSION}")
2527
set(MSVC_YEAR "2099" PARENT_SCOPE)

0 commit comments

Comments
 (0)