remove commas breaking MSVC dir setting

This commit is contained in:
Stephen Birarda 2017-08-09 18:41:34 -07:00
parent 57fe5ae802
commit 5b072b591e
2 changed files with 6 additions and 6 deletions

View file

@ -49,11 +49,11 @@ if (APPLE)
) )
elseif (WIN32) elseif (WIN32)
if ("${MSVC_VERSION}" EQUAL "1700") if ("${MSVC_VERSION}" EQUAL "1700")
set(_TBB_MSVC_DIR, "vc11") set(_TBB_MSVC_DIR "vc11")
elseif ("${MSVC_VERSION}" EQUAL "1800") elseif ("${MSVC_VERSION}" EQUAL "1800")
set(_TBB_MSVC_DIR, "vc12") set(_TBB_MSVC_DIR "vc12")
elseif ("${MSVC_VERSION}" EQUAL "1900" OR "${MSVC_VERSION}" EQUAL "1910") elseif ("${MSVC_VERSION}" EQUAL "1900" OR "${MSVC_VERSION}" EQUAL "1910")
set(_TBB_MSVC_DIR, "vc14") set(_TBB_MSVC_DIR "vc14")
else() else()
message(FATAL_ERROR "MSVC ${MSVC_VERSION} not supported by Intel TBB") message(FATAL_ERROR "MSVC ${MSVC_VERSION} not supported by Intel TBB")
endif() endif()

View file

@ -58,11 +58,11 @@ elseif (WIN32)
endif() endif()
if ("${MSVC_VERSION}" EQUAL "1700") if ("${MSVC_VERSION}" EQUAL "1700")
set(_TBB_MSVC_DIR, "vc11") set(_TBB_MSVC_DIR "vc11")
elseif ("${MSVC_VERSION}" EQUAL "1800") elseif ("${MSVC_VERSION}" EQUAL "1800")
set(_TBB_MSVC_DIR, "vc12") set(_TBB_MSVC_DIR "vc12")
elseif ("${MSVC_VERSION}" EQUAL "1900" OR "${MSVC_VERSION}" EQUAL "1910") elseif ("${MSVC_VERSION}" EQUAL "1900" OR "${MSVC_VERSION}" EQUAL "1910")
set(_TBB_MSVC_DIR, "vc14") set(_TBB_MSVC_DIR "vc14")
else() else()
message(FATAL_ERROR "MSVC ${MSVC_VERSION} not supported by Intel TBB") message(FATAL_ERROR "MSVC ${MSVC_VERSION} not supported by Intel TBB")
endif() endif()