File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,12 @@ if (APPLE)
48
48
LOG 1
49
49
)
50
50
elseif (WIN32 )
51
- if ("${MSVC_VERSION} " EQUAL "1700" )
52
- set (_TBB_MSVC_DIR "vc11" )
53
- elseif ("${MSVC_VERSION} " EQUAL "1800" )
54
- set (_TBB_MSVC_DIR "vc12" )
55
- elseif ("${MSVC_VERSION} " EQUAL "1900" OR "${MSVC_VERSION} " EQUAL "1910" )
51
+ if (MSVC_VERSION GREATER_EQUAL 1900)
56
52
set (_TBB_MSVC_DIR "vc14" )
53
+ elseif (MSVC_VERSION GREATER_EQUAL 1800)
54
+ set (_TBB_MSVC_DIR "vc12" )
55
+ elseif (MSVC_VERSION GREATER_EQUAL 1700)
56
+ set (_TBB_MSVC_DIR "vc11" )
57
57
else ()
58
58
message (FATAL_ERROR "MSVC ${MSVC_VERSION} not supported by Intel TBB" )
59
59
endif ()
Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ elseif (WIN32)
57
57
set (_TBB_ARCH_DIR "ia32" )
58
58
endif ()
59
59
60
- if ("${MSVC_VERSION} " EQUAL "1700" )
61
- set (_TBB_MSVC_DIR "vc11" )
62
- elseif ("${MSVC_VERSION} " EQUAL "1800" )
63
- set (_TBB_MSVC_DIR "vc12" )
64
- elseif ("${MSVC_VERSION} " EQUAL "1900" OR "${MSVC_VERSION} " EQUAL "1910" )
60
+ if (MSVC_VERSION GREATER_EQUAL 1900)
65
61
set (_TBB_MSVC_DIR "vc14" )
62
+ elseif (MSVC_VERSION GREATER_EQUAL 1800)
63
+ set (_TBB_MSVC_DIR "vc12" )
64
+ elseif (MSVC_VERSION GREATER_EQUAL 1700)
65
+ set (_TBB_MSVC_DIR "vc11" )
66
66
else ()
67
67
message (FATAL_ERROR "MSVC ${MSVC_VERSION} not supported by Intel TBB" )
68
68
endif ()
You can’t perform that action at this time.
0 commit comments