Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit 73a4616

Browse files
author
Allison Vacanti
committed
Fix FindTBB.cmake for MSVC 2022.
1 parent f58f28c commit 73a4616

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

thrust/cmake/FindTBB.cmake

+2-1
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,12 @@ if (WIN32 AND MSVC)
236236
set(COMPILER_PREFIX "vc11")
237237
elseif(MSVC_VERSION EQUAL 1800)
238238
set(COMPILER_PREFIX "vc12")
239-
elseif(MSVC_VERSION GREATER_EQUAL 1900 AND MSVC_VERSION LESS_EQUAL 1929)
239+
elseif(MSVC_VERSION GREATER_EQUAL 1900 AND MSVC_VERSION LESS_EQUAL 1939)
240240
# 1900-1925 actually spans three Visual Studio versions:
241241
# 1900 = VS 14.0 (v140 toolset) a.k.a. MSVC 2015
242242
# 1910-1919 = VS 15.0 (v141 toolset) a.k.a. MSVC 2017
243243
# 1920-1929 = VS 16.0 (v142 toolset) a.k.a. MSVC 2019
244+
# 1930-1939 = VS 17.0 (v143 toolset) a.k.a. MSVC 2022
244245
#
245246
# But these are binary compatible and TBB's open source distribution only
246247
# ships a single vs14 lib (as of 2020.0)

0 commit comments

Comments
 (0)