Build: fix build error when WITH_FLUID_ONLY and WITH_GPU both set as OFF. (#10756)
Build: fix build error when WITH_FLUID_ONLY and WITH_GPU both set as OFF. (#10756)


luotao1/Paddle,Canpio/Paddle,jacquesqiao/Paddle,Canpio/Paddle,pkuyym/Paddle,putcn/Paddle,QiJune/Paddle,chengduoZH/Paddle,putcn/Paddle,baidu/Paddle,Canpio/Paddle,tensor-tang/Paddle,QiJune/Paddle,luotao1/Paddle,tensor-tang/Paddle,tensor-tang/Paddle,jacquesqiao/Paddle,putcn/Paddle,PaddlePaddle/Paddle,reyoung/Paddle,putcn/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,baidu/Paddle,Canpio/Paddle,reyoung/Paddle,reyoung/Paddle,reyoung/Paddle,reyoung/Paddle,pkuyym/Paddle,putcn/Paddle,Canpio/Paddle,PaddlePaddle/Paddle,pkuyym/Paddle,PaddlePaddle/Paddle,Canpio/Paddle,chengduoZH/Paddle,luotao1/Paddle,luotao1/Paddle,jacquesqiao/Paddle,pkuyym/Paddle,luotao1/Paddle,tensor-tang/Paddle,baidu/Paddle,chengduoZH/Paddle,pkuyym/Paddle,QiJune/Paddle,QiJune/Paddle,tensor-tang/Paddle,putcn/Paddle,QiJune/Paddle,chengduoZH/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,QiJune/Paddle,PaddlePaddle/Paddle,jacquesqiao/Paddle,pkuyym/Paddle,jacquesqiao/Paddle,reyoung/Paddle,baidu/Paddle,Canpio/Paddle,baidu/Paddle,chengduoZH/Paddle,Canpio/Paddle,jacquesqiao/Paddle