|
|
|
@ -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}
|
|
|
|
|