提交 6171705a 编写于 作者: G gongweibao 提交者: Yi Wang

Potential bug in paddle/fluid/platform/CMakeLists.txt (#9723)

* fix

* nv_library

* add with_gpu

* revert
上级 fc025f52
......@@ -12,7 +12,7 @@ add_custom_command(TARGET profiler_py_proto POST_BUILD
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
if(WITH_GPU)
cc_library(enforce SRCS enforce.cc DEPS)
nv_library(enforce SRCS enforce.cc)
else()
cc_library(enforce SRCS enforce.cc)
endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册