Skip to content

Commit 6171705

Browse files
gongweibaowangkuiyi
authored andcommitted
Potential bug in paddle/fluid/platform/CMakeLists.txt (#9723)
* fix * nv_library * add with_gpu * revert
1 parent fc025f5 commit 6171705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/platform/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ add_custom_command(TARGET profiler_py_proto POST_BUILD
1212
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
1313

1414
if(WITH_GPU)
15-
cc_library(enforce SRCS enforce.cc DEPS)
15+
nv_library(enforce SRCS enforce.cc)
1616
else()
1717
cc_library(enforce SRCS enforce.cc)
1818
endif()

0 commit comments

Comments
 (0)