From 6171705a2cafed9ccb88eaa3050156bcb527baf2 Mon Sep 17 00:00:00 2001 From: gongweibao Date: Wed, 25 Apr 2018 00:30:19 +0800 Subject: [PATCH] Potential bug in paddle/fluid/platform/CMakeLists.txt (#9723) * fix * nv_library * add with_gpu * revert --- paddle/fluid/platform/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/platform/CMakeLists.txt b/paddle/fluid/platform/CMakeLists.txt index 917bdc64a..598fd4d41 100644 --- a/paddle/fluid/platform/CMakeLists.txt +++ b/paddle/fluid/platform/CMakeLists.txt @@ -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() -- GitLab