未验证 提交 c1bc2236 编写于 作者: W wuhuanzhou 提交者: GitHub

compile with VS2017, test=develop (#31388)

上级 13e4280f
......@@ -493,7 +493,9 @@ function(nv_library TARGET_NAME)
endif()
endif(nv_library_SRCS)
if (WIN32 AND ${CMAKE_CUDA_COMPILER_VERSION} LESS 11.0)
set_target_properties(${TARGET_NAME} PROPERTIES VS_USER_PROPS ${WIN_PROPS})
if(${MSVC_VERSION} LESS_EQUAL 1900)
set_target_properties(${TARGET_NAME} PROPERTIES VS_USER_PROPS ${WIN_PROPS})
endif()
endif()
endif()
endfunction(nv_library)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册