diff --git a/cmake/generic.cmake b/cmake/generic.cmake index ea5ce122b6f0d47649626e96ae1d762d93a43c02..d725751e8267ca4e73f801fa258f350187a44939 100644 --- a/cmake/generic.cmake +++ b/cmake/generic.cmake @@ -309,7 +309,7 @@ function(cc_test TARGET_NAME) if(WIN32) target_link_libraries(${TARGET_NAME} ${cc_test_DEPS} paddle_gtest_main lod_tensor memory gtest gflags glog shlwapi openblas) else(WIN32) - target_link_libraries(${TARGET_NAME} ${cc_test_DEPS} paddle_gtest_main lod_tensor memory gtest gflags glog openblas) + target_link_libraries(${TARGET_NAME} ${cc_test_DEPS} paddle_gtest_main lod_tensor memory gtest gflags glog) endif(WIN32) add_dependencies(${TARGET_NAME} ${cc_test_DEPS} paddle_gtest_main lod_tensor memory gtest gflags glog) add_test(NAME ${TARGET_NAME}