> > @Kemo-Huang i can only find one line in the Caffe2Targets.cmake, and i comment it. But i still got the problem, how can i solve it ?
deavn2236 opened this issue · comments
deavn2236 commented
> > @Kemo-Huang i can only find one line in the Caffe2Targets.cmake, and i comment it. But i still got the problem, how can i solve it ?
comment out those two lines:
INTERFACE_COMPILE_OPTIONS "-Wall;-Wextra;-Wno-unused-parameter;-Wno-missing-field-initializers;-Wno-write-strings;-Wno-unknown-pragmas;-Wno-missing-braces;-fopenmp"
INTERFACE_COMPILE_OPTIONS "\$<TARGET_PROPERTY:torch_cuda,INTERFACE_COMPILE_OPTIONS>
comment out those two lines solved my problem, thanks!
Originally posted by @shanjiayao in #69 (comment)
deavn2236 commented
where is “INTERFACE_COMPILE_OPTIONS "$<TARGET_PROPERTY:torch_cuda,INTERFACE_COMPILE_OPTIONS>” I can't find it in Caffe2Targets.cmake